Hello!
I'm trying to build my application to a executable runnable on Windows. The source was written on Linux.
What is the proper sequence of qmake/make commands to get this to happen.
Thanks.
Hello!
I'm trying to build my application to a executable runnable on Windows. The source was written on Linux.
What is the proper sequence of qmake/make commands to get this to happen.
Thanks.
Did you, by any chance, read the docs? And did you, by any chance, try the same sequence as on Linux?
Yeah I've looked but I haven't found anything.
The process I use in Linux is
qmake -project
qmake
make
But that doesn't create a usable executable in Windows.
I've tried
qmake -project -win32
qmake
make
But that doesn't work
How does it "doesn't work"? Are you trying to cross-compile your application?Originally Posted by qball2k5
Yes....that's what I'm trying to accomplish.
It's not a big deal. I don't even need to know the answer right now.
I've never tried it, but I guess you have to take one of the directories from QTDIR/mkspecs and tweak the qmake.conf and qplatformdefs.h, so that they point to your cross-compiler toolchain, and then cross-compile Qt and your application.
One thing I'm sure is that it isn't possible with Open Source edition of Qt/X11 --- you will have to download the windows version.
If you manage to do it, write a tutorial and we will publish it here.
There was a post about this on qt-interest two days ago:
http://lists.trolltech.com/qt-intere...ad00351-0.html
Bookmarks