Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [Solved]Compiling Qt Designer

    Installation and Deployment
    2
    4
    5948
    Loading More Posts
    • 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.
    • L
      lloydqt last edited by

      Hi,

      I have downloaded Qt Designer (Qt tools) from this link -> https://gitorious.org/qt-tools/qt-tools/archive-tarball/master

      I am interested in the implementation details of designer. To study the code, I would like to build it.

      I have loaded the project in Qt Creator directly. When try building it it throws a lot of error. Is this the right way of building Designer. Also I have visual studio add-in of Qt for VS 2010. I have created a new Qt project and loaded all the files related to Qt Designer. But when try compiling it, get a lot of errors like this

      "fatal error C1083: Cannot open include file: 'QtWidgets/QGroupBox': No such file or directory"

      I am using Visual Studio 2010 premium in Windows 7, Qt 4.8.7

      Whats the best way to compile Qt Designer?

      Thanks,
      Lloyd

      1 Reply Last reply Reply Quote 0
      • M
        miroslav last edited by

        You trying to build the (future) Qt5 Qt Creator against 4.8. Try looking at the source code of Creator 2.4.1 here: http://qt.gitorious.org/qt-creator

        Mirko Boehm | mirko@kde.org | KDE e.V.
        FSFE Fellow
        Qt Certified Specialist

        1 Reply Last reply Reply Quote 0
        • L
          lloydqt last edited by

          Thanks miroslav,

          I have downloaded Qtcreator as you have suggested. Now again I have loaded the project in QtCreator, tried to build. It gave me the following error....

          ....
          ....
          jom 1.0.6 - empower your cores

          Error: dependent '........\Qt' does not exist.
          command failed with exit code 2
          command failed with exit code 2
          command failed with exit code 2
          20:13:13: The process "C:\DevelLibs\QtSDK\QtCreator\bin\jom.exe" exited with code 2.
          Error while building project qtcreator (target: Desktop)
          When executing build step 'Make'

          What could be the reason? Is it possible to get the code of Designer alone for compilation as a standalone application not as a plugin? As I am more interested in its "professional style implementation details"...

          Thanks,
          Lloyd

          1 Reply Last reply Reply Quote 0
          • L
            lloydqt last edited by

            To solve this I have done the following.

            Downloaded Qt 4.8.1 SDK src and built as per the instrcutions like
            *) configure
            *) nmake /jom
            then went to SDK srcs tools directory and opened the "designer.sln" file and built it.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post