Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.8.3
-
None
-
Windows XP
Description
I install "Qt libraries 4.8.3 for Windows (minGW 4.4)". It is impossible compiler any library (dll) project with them. The same projects successfully compile with 4.8.1 or lower. In .pro file there is “TEMPLATE = lib”.
The output is:
15:47:15: Выполняются этапы для проекта test2... 15:47:15: Запускается: «c:\qt\4.8.3\bin\qmake.exe» "C:\Documents and Settings\Sancho\test2\test2.pro" -r -spec win32-g++ 15:47:15: Процесс «c:\qt\4.8.3\bin\qmake.exe» завершился нормально. 15:47:15: Запускается: «C:\mingw\bin\mingw32-make.exe» C:/mingw/bin/mingw32-make -f Makefile.Release mingw32-make[1]: Entering directory `C:/Documents and Settings/Sancho/test2-build-desktop-Qt_4_8_3__4_8_3_______' g++ -c -O2 -Wall -Wextra -fno-exceptions -fno-rtti -DUNICODE -DQT_LARGEFILE_SUPPORT -DTEST2_LIBRARY -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NO_DYNAMIC_CAST -I"..\..\..\Qt\4.8.3\include\QtCore" -I"..\..\..\Qt\4.8.3\include" -I"..\..\..\Qt\4.8.3\include\ActiveQt" -I"release" -I"..\test2" -I"." -I"..\..\..\Qt\4.8.3\mkspecs\win32-g++" -o release\Test2.o ..\test2\Test2.cpp g++ -Wl,-s -o release\libtest2.a release/Test2.o -L".\lib" -L"c:\Qt\4.8.3\lib" -lQtCore4 mingw32-make[1]: Leaving directory `C:/Documents and Settings/Sancho/test2-build-desktop-Qt_4_8_3__4_8_3_______' c:/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../libmingw32.a(main.o):main.c:(.text+0x104): undefined reference to `WinMain@16' collect2: ld returned 1 exit status mingw32-make[1]: *** [release\libtest2.a] Error 1 mingw32-make: *** [release] Error 2