Please nominate your Qt Champions for 2021!

Error Compiling Qt Creator off the head of using head of Qt

  • BTW, looked for bugtracker, but the link is broken; that and it maybe a build configuration problem.

    I am building on Ubuntu 12.04 with gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 using a qt git pull from head. I have qtcreator 4.6.0 managing the build.

    I am running into a compiler error from a moc file for moc_completingtextedit.cpp created by qmaking completingtextedit.h. The type 'struct Utils::CompletingTextEditPrivate' is defined in completingtextedit.cpp, which the moc file can't see, so it is complaining:

    I.moc/debug-shared -I.uic -I. -o .obj/debug-shared/moc_completingtextedit.o .moc/debug-shared/moc_completingtextedit.cpp
    .moc/debug-shared/moc_completingtextedit.cpp: In static member function 'static void Utils::CompletingTextEdit::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
    .moc/debug-shared/moc_completingtextedit.cpp:54:22: error: invalid use of incomplete type 'struct Utils::CompletingTextEditPrivate'
    .moc/debug-shared/../../../../../../qt-creator/src/libs/utils/completingtextedit.h:69:11: error: forward declaration of 'struct Utils::CompletingTextEditPrivate'
    make[3]: *** [.obj/debug-shared/moc_completingtextedit.o] Error 1
    make[3]: Leaving directory /home/david/software/qt/qtcreator-build-Qt_4_8_4_software-Default_build_Debug/src/libs/utils' make[2]: Leaving directory/home/david/software/qt/qtcreator-build-Qt_4_8_4_software-Default_build_Debug/src/libs'
    make[2]: *** [sub-utils-make_default-ordered] Error 2
    make[1]: *** [sub-libs-make_default-ordered] Error 2
    make[1]: Leaving directory /home/david/software/qt/qtcreator-build-Qt_4_8_4_software-Default_build_Debug/src' make: *** [sub-src-make_default-ordered] Error 2 make: Leaving directory/home/david/software/qt/qtcreator-build-Qt_4_8_4_software-Default_build_Debug'
    21:33:00: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project qtcreator (target: Qt 4.8.4 (software))
    When executing step 'Make'

    Two questions:
    Anyone else seeing this behavior?

    Where is bug tracking now?



  • I found the bug tracker at

    For the forum web manager, the link at the top of the discussion page points to a nokia page that is not there any more.

  • I also added this as a bug: QTCREATORBUG-8237

Log in to reply