Results 1 to 4 of 4

Thread: QtDesigner not in Qt ?

  1. #1
    Join Date
    Dec 2010
    Posts
    11
    Thanks
    1

    Default QtDesigner not in Qt ?

    Hi all,

    i have to make(experiment) simple layout with table in combobox. i have read that in QtDesigner you can make tha layout and it will generate the code.

    i want to view the generated code, but i haven't got QtDesigner installed with Qt. Is it in the package or is installed separately or it is not available for open source Qt?

    I am with open source version of Qt.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QtDesigner not in Qt ?

    It depends what you installed.
    If you installed only the framework, then its only Qt, without any tools.
    If you want everything, install the full SDK, designer is included there.
    http://qt.nokia.com/downloads/
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QtDesigner not in Qt ?

    QtDesigner DON'T generate any CPP code. QtDesigner save forms in XML files. Then You must compile this file with UIC compiler. On output You have H file with CPP class definition.
    And QtDesigner is an element of standard open soutce Qt, You don't need to install Qt SDK.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QtDesigner not in Qt ?

    Quote Originally Posted by Lesiok View Post
    QtDesigner DON'T generate any CPP code. QtDesigner save forms in XML files. Then You must compile this file with UIC compiler. On output You have H file with CPP class definition.
    There is a "view code" menu entry in Designer that performs the same task as uic does so you can preview the final code directly in Designer.

    @kode: If you installed Qt through a package manager of one of U*ix distributions, it is likely that Designer is in a different package. Try looking for packages such as qt4-designer or qt-designer.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Qt Designer QtDesigner problem
    By augellisalvatore in forum Qt Tools
    Replies: 0
    Last Post: 31st August 2010, 07:19
  2. QtDesigner in my app? How to add?
    By sergey_85 in forum Qt Programming
    Replies: 1
    Last Post: 27th October 2009, 06:36
  3. QTDesigner + QPaint [QT 4.4]
    By pippofrank in forum Qt Programming
    Replies: 10
    Last Post: 13th December 2008, 17:45
  4. compile o.k. but nothing in QtDesigner
    By khopper in forum Qwt
    Replies: 6
    Last Post: 3rd October 2008, 17:12
  5. need for QGraphicsView in QtDesigner
    By babu198649 in forum Qt Tools
    Replies: 5
    Last Post: 21st January 2008, 06:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.