Results 1 to 7 of 7

Thread: Project generation on linux from QT Project

  1. #1
    Join Date
    Mar 2006
    Posts
    47
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Project generation on linux from QT Project

    Hi,
    I am new to qt4 programming on Linux. Previously working on QT4 for Mac.

    As on mac
    If you are using Xcode on Mac OS X, you can generate an Xcode project using the command
    qmake -spec macx-xcode

    If you are using Microsoft Visual C++,
    you can create a Visual Studio project file from hello.pro by typing
    qmake -tp vc hello.pro

    My Problem:
    I want to know which type of project can be generated from the QT project. Plz give discriptive answer.


    With Best Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Boston, MA
    Posts
    40
    Thanks
    1
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Project generation on linux from QT Project

    On Linux x86 mashine with GCC just:
    qmake -project - to generate project file and when:
    qmake
    make

  3. #3
    Join Date
    Mar 2006
    Posts
    47
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Project generation on linux from QT Project

    Hi,
    I want to know that in which environment we can take qt project in linux the way we take in windows, where in we can take project into Visual Studio.

    Kindly give a detailed reply to make it clear.

    Your response will be highly appreciated.

    Thanks.

  4. #4
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Project generation on linux from QT Project

    Under Unix (and Linux), qmake generates standard makefiles. You then build your project with make (or gmake). qmake does not directly generate project files for any Unix IDEs.

    KDevelop does support Qt very well, so you may consider using it. It will import qmake based projects, and also generate qmake or cmake based projects.

  5. #5
    Join Date
    Dec 2006
    Posts
    160
    Thanks
    33
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Project generation on linux from QT Project

    You can also try QDevelop or Monkey Studio, which will take as input your .pro files and give you a nice GUI to handle your code / ui files.

  6. #6
    Join Date
    Mar 2006
    Posts
    47
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Project generation on linux from QT Project

    Hi,
    Which command is used to get KDevelop project from .pro file on linux.

    Thanks and Regards

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

    Default Re: Project generation on linux from QT Project

    There is no command for that. Just import the project to KDevelop using "Import existing project" menu entry from the latter.

Similar Threads

  1. QT 3 (linux) to 4(windows XP)
    By deekayt in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2006, 19:30
  2. Project won't compile under Windows (works under Linux)
    By philski in forum Qt Programming
    Replies: 7
    Last Post: 14th September 2006, 16:29
  3. Replies: 2
    Last Post: 11th July 2006, 15:19

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.