PDA

View Full Version : Porting Qt application from linux to Windows



ankit17.ag
14th October 2008, 13:04
I need to move my Qt application from Linux to Windows. We are using Cygwin for compilation(due to some other issues). What is the alternate for "qmake" for this problem that we can use for compilation?

Thanks.

Boron
14th October 2008, 18:30
I'm not sure, but cannot qmake generate real makefiles out of the pro-file?
With normal makefiles you could use the normal make that should be part of Cygwin.

pdolbey
15th October 2008, 17:16
Qt4 hasn't been ported to Cygwin (at least not last night), just Qt3. Try mingw or VS2008 Express Edition instead.

What are the other issues?

Pete

ankit17.ag
16th October 2008, 09:40
We need to use Qt4 in cygwin1.7. is there any way that this can be achieved?

Boron
16th October 2008, 18:02
My Qt-4.4.3/mkspecs directory contains a directory called "cygwin-g++".

So a simple "configure -platform cygwin-g++ <other options>" should hopefully be enough to configure Qt4 for Cygwin.

lorebett
12th February 2009, 21:18
My Qt-4.4.3/mkspecs directory contains a directory called "cygwin-g++".

So a simple "configure -platform cygwin-g++ <other options>" should hopefully be enough to configure Qt4 for Cygwin.

I tried this one, but I get at the end:



Creating qmake...
Makefile:12: *** missing separator. Stop.
Makefile:12: *** missing separator. Stop.
Cleaning qmake failed, return code 2