[SOLVED] qt-opensource-windows-x86-mingw482-4.8.6-1: compile errror in designer



  • I try to compile designer from qt-opensource-windows-x86-mingw482-4.8.6-1 package.

    In tools/designer directory, I run qmake with win32-g++ spec and recursive option:
    $ qmake -recursive -spec win32-g++
    and then
    $ make

    Compile process start as well but encounter this error:

    g++ -c -include debug/lib_pch.h -pipe -g -frtti -fexceptions -mthreads -Wall -Wextra -DUNICODE -DQDESIGNER_SDK_LIBRARY -DQDESIGNER_EXTENSION_LIBRARY -DQDESIGNER_UILIB_LIBRARY -DQDESIGNER_SHARED_LIBRARY -DQT_DESIGNER -DQT_DLL -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I'c:/siriusSDK/mingw32/Qt/4.8.6/include/QtCore' -I'c:/siriusSDK/mingw32/Qt/4.8.6/include/QtGui' -I'c:/siriusSDK/mingw32/Qt/4.8.6/include/QtXml' -I'c:/siriusSDK/mingw32/Qt/4.8.6/include/QtScript' -I'c:/siriusSDK/mingw32/Qt/4.8.6/include' -I'extension' -I'sdk' -I'uilib' -I'shared' -I'../../../shared/qtpropertybrowser' -I'../../../shared/deviceskin' -I'../../../shared/findwidget' -I'../../../shared/qtgradienteditor' -I'c:/siriusSDK/mingw32/Qt/4.8.6/include/ActiveQt' -I'debug' -I'.' -I'c:/siriusSDK/mingw32/Qt/4.8.6/mkspecs/win32-g++' -o debug/qtresourcemodel.o shared/qtresourcemodel.cppshared/qtresourcemodel.cpp:43:17: fatal error: rcc.h: No such file or directory
    #include <rcc.h>
    ^
    compilation terminated.
    make[3]: *** [debug/qtresourcemodel.o] Error 1
    make[3]: Leaving directory /c/nwsirius_IEC/tools/designer_qt-4.8.6/designer/src /lib' make[2]: *** [debug] Error 2 make[2]: Leaving directory/c/nwsirius_IEC/tools/designer_qt-4.8.6/designer/src
    /lib'
    make[1]: *** [sub-lib-make_default-ordered] Error 2

    Do I have to compile or install before something else to find rcc.h?


  • Lifetime Qt Champion

    Hi,

    Maybe a silly question, but since you can run qmake, you already have a Qt installed ? So why not use designer from that one ? Or Qt Creator's integrated designer ?



  • Hi,

    I installed the "Qt libraries 4.8.6 for Windows (MinGW 4.8.2, 328 MB)".
    In this package "Qt\4.8.6\bin\designer.exe" is not present, and usually I use qmake from command line to make my projects. For me it's perfect.

    In this package, I found also "Qt\4.8.6\tools\designer" directory and I try to compile it with qmake.exe from command line as usual.

    Is possible to recompile the designer present in this package?


  • Lifetime Qt Champion

    AFAIK, you need to grab the sources, but it seems strange that you don't have designer. What do you have in bin ?



  • You're right... my qt installation was broken.
    I have installed all again and now... I have designer!!!

    Sorry and thanx for your time.


  • Lifetime Qt Champion

    You're welcome !

    Since now you have a working Qt installation, please update the thread title prepending [solved] so other forum users may know a solution has been found :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.