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. How to build the project Qt Designer from source code in Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

How to build the project Qt Designer from source code in Qt Creator?

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.7k 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.
  • A Offline
    A Offline
    Amry
    wrote on last edited by
    #1

    Hi All,

    I am quite new to Qt environment.
    And would like to try out something.

    What I want is to build the Qt Designer project in Qt Creator.
    I have installed Qt Creator 3.0.0.
    And I have downloaded qt-everywhere-opensource-src-4.8.4.zip.

    I started the Qt Creator and build the project, and opened qt-everywhere-opensource-src-4.8.4/tools/designer/designer.pro

    It parses without any error.
    And when I start Run button,
    I got this compile output:

    In file included from ../../../designer/src/lib/uilib/abstractformbuilder.cpp:42:0:
    ../../../designer/src/lib/uilib/abstractformbuilder.h:51:29: fatal error: QtGui/QSizePolicy: No such file or directory
    compilation terminated.
    make[2]: *** [abstractformbuilder.o] Error 1

    I have found this file in qt-everywhere-opensource-src-4.8.4/include/QtGui/QSizePolicy

    I guess, it should add it. But I do not know why it is not finding it.

    Any help will be appreciated.

    If anyone knows different source code for Qt Designer where I can build in Qt Creator, would be also nice.

    The main purpose for me, is to change/add some code to the source code of Qt Designer to fit my interest.

    Thanks in advance.

    1 Reply Last reply
    0
    • frederikF Offline
      frederikF Offline
      frederik
      wrote on last edited by
      #2

      You are trying to build the Qt 4 version of Designer against Qt 5. You need to either have a Qt 4 version set up and build against that or you check out the Qt 5 version of Designer etc. The best way for that is probably to build all of Qt 5 from source (including Qt Creator).

      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