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. build qtcreator 4.4.1 from souce code failed

build qtcreator 4.4.1 from souce code failed

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 216 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.
  • J Offline
    J Offline
    Joshua Qt
    wrote on last edited by
    #1

    hi, everybody,

    i build qtcreator 4.4.1 from souce code, the debug version is ok, but the release version building complain as below:

    mingw32-make[1]: Leaving directory 'F:/build-qtcreator-Desktop_Qt_5_14_2_MinGW_64_bit-Release/src'
    release/qmlcache_loader.o:qmlcache_loader.cpp:(.text+0x32): undefined reference to __imp__ZN11QQmlPrivate13qmlunregisterENS_16RegistrationTypeEy' release/qmlcache_loader.o:qmlcache_loader.cpp:(.text+0x473): undefined reference to __imp__ZN11QQmlPrivate11qmlregisterENS_16RegistrationTypeEPv'
    release/qmlcache_loader.o:qmlcache_loader.cpp:(.text+0xdcf): undefined reference to __imp__ZN11QQmlPrivate11qmlregisterENS_16RegistrationTypeEPv' release/qmlcache_loader.o:qmlcache_loader.cpp:(.text.startup+0x15b): undefined reference to __imp__ZN11QQmlPrivate11qmlregisterENS_16RegistrationTypeEPv'
    collect2.exe: error: ld returned 1 exit status
    mingw32-make[3]: *** [Makefile.Release:84: ../../../../../../lib/qtcreator/qbsqtprofilesetup1.dll] Error 1
    mingw32-make[2]: *** [Makefile:45: release] Error 2
    mingw32-make[1]: *** [Makefile:104: sub-shared-qbs-src-lib-qtprofilesetup-make_first-ordered] Error 2
    mingw32-make: *** [Makefile:51: sub-src-make_first-ordered] Error 2
    14:28:56: 进程"E:\Qt\Qt5.14.2\Tools\mingw730_64\bin\mingw32-make.exe"退出,退出代码 2 。
    Error while building/deploying project qtcreator (kit: Desktop Qt 5.14.2 MinGW 64-bit)
    When executing step "Make"
    14:28:56: Elapsed time: 00:24

    i am not a qt expert, who can tell me what i should do?

    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