Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] qt-opensource-windows-x86-mingw482-4.8.6-1: compile errror in designer
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.8k 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.
  • F Offline
    F Offline
    facmatteo
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        facmatteo
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            facmatteo
            wrote on last edited by
            #5

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

            Sorry and thanx for your time.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              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 :)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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