Russian Qt Forum

Qt => Qt-инструментарий => Тема начата: daimon от Май 23, 2012, 14:55



Название: QCreator 2.5.0 MSVC2010 Qt 4.8.1 MT static no crt
Отправлено: daimon от Май 23, 2012, 14:55
переменные среды прописаны только под shared версию Qt 4.8.1, поэтому я прописал сбору в креаторе для qmake
делаю релиз и вот лог
Код:
14:52:33: Выполняются этапы для проекта untitled...
14:52:33: Настройки не изменились, этап qmake пропускается.
14:52:33: Запускается: «C:\Qt\qtcreator-2.5.0\bin\jom.exe»
C:\Qt\qtcreator-2.5.0\bin\jom.exe -f Makefile.Release
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MT -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\4.8.1MT\include\QtCore" -I"..\..\4.8.1MT\include\QtGui" -I"..\..\4.8.1MT\include" -I"..\..\4.8.1MT\include\ActiveQt" -I"release" -I"." -I"..\..\4.8.1MT\mkspecs\win32-msvc2010" -Forelease\ @C:\DOCUME~1\Dima\LOCALS~1\Temp\mainwindow.obj.3428.0.jom
mainwindow.cpp
link /LIBPATH:"c:\Qt\4.8.1MT\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:release\untitled.exe @C:\DOCUME~1\Dima\LOCALS~1\Temp\untitled.exe.3428.2031.jom
mainwindow.obj : warning LNK4217: locally defined symbol ?tr@QMetaObject@@QBE?AVQString@@PBD0@Z (public: class QString __thiscall QMetaObject::tr(char const *,char const *)const ) imported in function "public: static class QString __cdecl MainWindow::tr(char const *,char const *)" (?tr@MainWindow@@SA?AVQString@@PBD0@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QString@@QAE@XZ (public: __thiscall QString::~QString(void)) imported in function __unwindfunclet$?retranslateUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z$0
mainwindow.obj : warning LNK4217: locally defined symbol ?free@QString@@CAXPAUData@1@@Z (private: static void __cdecl QString::free(struct QString::Data *)) imported in function "public: void __thiscall Ui_MainWindow::retranslateUi(class QMainWindow *)" (?retranslateUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?setWindowTitle@QWidget@@QAEXABVQString@@@Z (public: void __thiscall QWidget::setWindowTitle(class QString const &)) imported in function "public: void __thiscall Ui_MainWindow::retranslateUi(class QMainWindow *)" (?retranslateUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?translate@QCoreApplication@@SA?AVQString@@PBD00W4Encoding@1@@Z (public: static class QString __cdecl QCoreApplication::translate(char const *,char const *,char const *,enum QCoreApplication::Encoding)) imported in function "public: void __thiscall Ui_MainWindow::retranslateUi(class QMainWindow *)" (?retranslateUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QMainWindow@@UAE@XZ (public: virtual __thiscall QMainWindow::~QMainWindow(void)) imported in function "public: virtual __thiscall MainWindow::~MainWindow(void)" (??1MainWindow@@UAE@XZ)
mainwindow.obj : warning LNK4217: locally defined symbol ?connectSlotsByName@QMetaObject@@SAXPAVQObject@@@Z (public: static void __cdecl QMetaObject::connectSlotsByName(class QObject *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?setStatusBar@QMainWindow@@QAEXPAVQStatusBar@@@Z (public: void __thiscall QMainWindow::setStatusBar(class QStatusBar *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??0QStatusBar@@QAE@PAVQWidget@@@Z (public: __thiscall QStatusBar::QStatusBar(class QWidget *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?setCentralWidget@QMainWindow@@QAEXPAVQWidget@@@Z (public: void __thiscall QMainWindow::setCentralWidget(class QWidget *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??0QWidget@@QAE@PAV0@V?$QFlags@W4WindowType@Qt@@@@@Z (public: __thiscall QWidget::QWidget(class QWidget *,class QFlags<enum Qt::WindowType>)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?addToolBar@QMainWindow@@QAEXPAVQToolBar@@@Z (public: void __thiscall QMainWindow::addToolBar(class QToolBar *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??0QToolBar@@QAE@PAVQWidget@@@Z (public: __thiscall QToolBar::QToolBar(class QWidget *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?setMenuBar@QMainWindow@@QAEXPAVQMenuBar@@@Z (public: void __thiscall QMainWindow::setMenuBar(class QMenuBar *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??0QMenuBar@@QAE@PAVQWidget@@@Z (public: __thiscall QMenuBar::QMenuBar(class QWidget *)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?resize@QWidget@@QAEXABVQSize@@@Z (public: void __thiscall QWidget::resize(class QSize const &)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?fromUtf8@QString@@SA?AV1@PBDH@Z (public: static class QString __cdecl QString::fromUtf8(char const *,int)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?setObjectName@QObject@@QAEXABVQString@@@Z (public: void __thiscall QObject::setObjectName(class QString const &)) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?objectName@QObject@@QBE?AVQString@@XZ (public: class QString __thiscall QObject::objectName(void)const ) imported in function "public: void __thiscall Ui_MainWindow::setupUi(class QMainWindow *)" (?setupUi@Ui_MainWindow@@QAEXPAVQMainWindow@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QMenuBar@@UAE@XZ (public: virtual __thiscall QMenuBar::~QMenuBar(void)) imported in function "public: virtual void * __thiscall QMenuBar::`scalar deleting destructor'(unsigned int)" (??_GQMenuBar@@UAEPAXI@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QToolBar@@UAE@XZ (public: virtual __thiscall QToolBar::~QToolBar(void)) imported in function "public: virtual void * __thiscall QToolBar::`scalar deleting destructor'(unsigned int)" (??_GQToolBar@@UAEPAXI@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QWidget@@UAE@XZ (public: virtual __thiscall QWidget::~QWidget(void)) imported in function "public: virtual void * __thiscall QWidget::`scalar deleting destructor'(unsigned int)" (??_GQWidget@@UAEPAXI@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QStatusBar@@UAE@XZ (public: virtual __thiscall QStatusBar::~QStatusBar(void)) imported in function "public: virtual void * __thiscall QStatusBar::`scalar deleting destructor'(unsigned int)" (??_GQStatusBar@@UAEPAXI@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?installTranslator@QCoreApplication@@SAXPAVQTranslator@@@Z (public: static void __cdecl QCoreApplication::installTranslator(class QTranslator *)) imported in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?load@QTranslator@@QAE_NABVQString@@000@Z (public: bool __thiscall QTranslator::load(class QString const &,class QString const &,class QString const &,class QString const &)) imported in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?shared_null@QString@@0UData@1@A (private: static struct QString::Data QString::shared_null) imported in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ?fromAscii_helper@QString@@CAPAUData@1@PBDH@Z (private: static struct QString::Data * __cdecl QString::fromAscii_helper(char const *,int)) imported in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??0QTranslator@@QAE@PAVQObject@@@Z (public: __thiscall QTranslator::QTranslator(class QObject *)) imported in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??0QMainWindow@@QAE@PAVQWidget@@V?$QFlags@W4WindowType@Qt@@@@@Z (public: __thiscall QMainWindow::QMainWindow(class QWidget *,class QFlags<enum Qt::WindowType>)) imported in function "public: __thiscall MainWindow::MainWindow(class QWidget *)" (??0MainWindow@@QAE@PAVQWidget@@@Z)
mainwindow.obj : warning LNK4217: locally defined symbol ??1QTranslator@@UAE@XZ (public: virtual __thiscall QTranslator::~QTranslator(void)) imported in function "public: virtual void * __thiscall QTranslator::`scalar deleting destructor'(unsigned int)" (??_GQTranslator@@UAEPAXI@Z)
main.obj : warning LNK4217: locally defined symbol ??1QApplication@@UAE@XZ (public: virtual __thiscall QApplication::~QApplication(void)) imported in function _main
main.obj : warning LNK4217: locally defined symbol ?exec@QApplication@@SAHXZ (public: static int __cdecl QApplication::exec(void)) imported in function _main
main.obj : warning LNK4217: locally defined symbol ?show@QWidget@@QAEXXZ (public: void __thiscall QWidget::show(void)) imported in function _main
main.obj : warning LNK4217: locally defined symbol ??0QApplication@@QAE@AAHPAPADH@Z (public: __thiscall QApplication::QApplication(int &,char * *,int)) imported in function _main
moc_mainwindow.obj : warning LNK4217: locally defined symbol ?qt_metacast@QMainWindow@@UAEPAXPBD@Z (public: virtual void * __thiscall QMainWindow::qt_metacast(char const *)) imported in function "public: virtual void * __thiscall MainWindow::qt_metacast(char const *)" (?qt_metacast@MainWindow@@UAEPAXPBD@Z)
moc_mainwindow.obj : warning LNK4217: locally defined symbol ?qt_metacall@QMainWindow@@UAEHW4Call@QMetaObject@@HPAPAX@Z (public: virtual int __thiscall QMainWindow::qt_metacall(enum QMetaObject::Call,int,void * *)) imported in function "public: virtual int __thiscall MainWindow::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@MainWindow@@UAEHW4Call@QMetaObject@@HPAPAX@Z)
moc_mainwindow.obj : warning LNK4217: locally defined symbol ?staticMetaObject@QMainWindow@@2UQMetaObject@@B (public: static struct QMetaObject const QMainWindow::staticMetaObject) imported in function "void __cdecl `dynamic initializer for 'public: static struct QMetaObject const MainWindow::staticMetaObject''(void)" (??__E?staticMetaObject@MainWindow@@2UQMetaObject@@B@@YAXXZ)
14:52:36: Процесс «C:\Qt\qtcreator-2.5.0\bin\jom.exe» завершился нормально.
почему столько предупреждений?
qt build
Код:
configure -static -debug-and-release -opensource -qt-zlib -qt-libpng -qt-libmng -qt-libjpeg -qt-libtiff -no-crt -nomake demos -nomake examples -no-qt3support -make jom
MD заменил на MT


Название: Re: QCreator 2.5.0 MSVC2010 Qt 4.8.1 MT static no crt
Отправлено: daimon от Май 23, 2012, 15:03
делаю дебаг
уже и переменные среды прописал под qt static