PDA

View Full Version : Project generation on linux from QT Project



darpan
6th December 2006, 12:21
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

fanat9
6th December 2006, 13:34
On Linux x86 mashine with GCC just:
qmake -project - to generate project file and when:
qmake
make

darpan
7th December 2006, 05:19
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.

Brandybuck
7th December 2006, 21:59
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.

hickscorp
8th December 2006, 14:18
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.

darpan
11th December 2006, 06:27
Hi,
Which command is used to get KDevelop project from .pro file on linux.

Thanks and Regards

wysota
11th December 2006, 09:43
There is no command for that. Just import the project to KDevelop using "Import existing project" menu entry from the latter.