Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling Qt-5.1.0 failed on win7 x32

Compiling Qt-5.1.0 failed on win7 x32

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    silent_missile
    wrote on last edited by
    #1

    my system is win7 x32

    my compiler is mingw-build posix dw2 32bit compiler version 4.8.1 rev1

    and I installed gmplib, zlib, nasm, yasm, openssl, libpng, libpjeg, icu, all of them are the newest version

    also I have installed ruby-2.0.0, perl-5.16.2, python-2.7.5 in my system

    I downloaded Qt-5.1.0 official release this morning and tried but failed. The error message is like this:

    mingw32-make[6]: Entering directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms/offscreen'
    g++ -shared -Wl,--out-implib,D:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/plugins/platforms/libqoffscreend.a -o ../../../../plugins/platforms/qoffscreend.dll .obj/debug-shared/main.o .obj/debug-shared/qoffscreenintegration.o .obj/debug-shared/qoffscreenwindow.o .obj/debug-shared/qoffscreencommon.o .obj/debug-shared/qoffscreenintegration_dummy.o -LD:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/lib -lQt5PlatformSupportd -lglu32 -lopengl32 -lgdi32 -luser32 -lQt5Guid -lQt5Cored
    .obj/debug-shared/qoffscreenintegration.o: In function ZN18QBasicFontDatabaseC1Ev': d:\Downloads\Software\Develop\QT\qt-everywhere-opensource-src-5.1.0\qtbase\src\plugins\platforms\offscreen/../../../../src/platformsupport/fontdatabases/basic/qbasicfontdatabase_p.h:57: undefined reference to vtable for QBasicFontDatabase'
    collect2.exe: error: ld returned 1 exit status
    Makefile.Debug:85: recipe for target '../../../../plugins/platforms/qoffscreend.dll' failed
    mingw32-make[6]: *** [../../../../plugins/platforms/qoffscreend.dll] Error 1
    mingw32-make[6]: Leaving directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms/offscreen'
    Makefile:38: recipe for target 'debug-all' failed
    mingw32-make[5]: *** [debug-all] Error 2
    mingw32-make[5]: Leaving directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms/offscreen'
    Makefile:65: recipe for target 'sub-offscreen-make_first' failed
    mingw32-make[4]: *** [sub-offscreen-make_first] Error 2
    mingw32-make[4]: Leaving directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms'
    Makefile:121: recipe for target 'sub-platforms-make_first' failed
    mingw32-make[3]: *** [sub-platforms-make_first] Error 2
    mingw32-make[3]: Leaving directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins'
    Makefile:497: recipe for target 'sub-plugins-make_first' failed
    mingw32-make[2]: *** [sub-plugins-make_first] Error 2
    mingw32-make[2]: Leaving directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase/src'
    Makefile:40: recipe for target 'sub-src-make_first' failed
    mingw32-make[1]: *** [sub-src-make_first] Error 2
    mingw32-make[1]: Leaving directory 'd:/Downloads/Software/Develop/QT/qt-everywhere-opensource-src-5.1.0/qtbase'
    Makefile:56: recipe for target 'module-qtbase-make_first' failed
    mingw32-make: *** [module-qtbase-make_first] Error 2

    the mistake seems like some function was not compiled into the lib, I checked the Makefile, but I could not find any mistake.

    Can any one help me?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      silent_missile
      wrote on last edited by
      #2

      Now I find the solution, if I use msys console, it would happen, if I use cmd console, it would not happen

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved