Qt-interest Archive, January 2007
Compiling QT 3.3* with MinGW in Windows
Message 1 in thread
Hi all,
Can anyone please suggest a good tutorial for this?
Any feedback here would be greatly appreciated!
I have a source code made with QT 3.3.4 which has been compiled in
Linux which I now would like to compile in WinXP. I have struggled a
bit with making Dev-Cpp work with Makefile, but unfortunately I have
not had any luck. I know that MinGW should compile QT 3 and 4 in
windows.
Alternatively, does anyone have a simple example of how to compile c++
with QT with MinGW (which commands to use in the command prompt)?
Thanks you very much,
Regards,
Martin
--
[ signature omitted ]
Message 2 in thread
On 16.01.07 12:55:42, haak1979 wrote:
> not had any luck. I know that MinGW should compile QT 3 and 4 in
> windows.
Thats were you are wrong. Trolltech doesn't offer Qt3 with mkspecs for
mingw, only for VisualStudio in its non-open-source license.
There is an unofficial project somewhere to build a Qt3 version from the
X11-open-source sources that works on Windows with mingw, but I don't
know its status.
> Alternatively, does anyone have a simple example of how to compile c++
> with QT with MinGW (which commands to use in the command prompt)?
qmake and make are the only tools you need. And both can be run inside
your project without any parameters.
Andreas
--
[ signature omitted ]
Message 3 in thread
Thanks for your reply, Andreas!
OK, so does this mean that it is possible to compile my QT 3 c++
project in Windows with only qmake and make that follows in the
embedded version of QT?
Sorry if this question is stupid.. but neither "make" nor "nmake" is
built in my QT directories when I run "configure -static" in the QT
folder.
A little example of how to compile in windows would be appreciated!
Regards from a newbie...
On 1/16/07, Andreas Pakulat <apaku@xxxxxx> wrote:
> On 16.01.07 12:55:42, haak1979 wrote:
> > not had any luck. I know that MinGW should compile QT 3 and 4 in
> > windows.
>
> Thats were you are wrong. Trolltech doesn't offer Qt3 with mkspecs for
> mingw, only for VisualStudio in its non-open-source license.
>
> There is an unofficial project somewhere to build a Qt3 version from the
> X11-open-source sources that works on Windows with mingw, but I don't
> know its status.
>
> > Alternatively, does anyone have a simple example of how to compile c++
> > with QT with MinGW (which commands to use in the command prompt)?
>
> qmake and make are the only tools you need. And both can be run inside
> your project without any parameters.
>
> Andreas
>
> --
> You look like a million dollars. All green and wrinkled.
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]
Message 4 in thread
On 16.01.07 13:34:13, haak1979 wrote:
> OK, so does this mean that it is possible to compile my QT 3 c++
> project in Windows with only qmake and make that follows in the
> embedded version of QT?
Not sure what you mean with embedded version, but to compile a Qt3 or
Qt4 program all you need is qmake+make+compiler.
> Sorry if this question is stupid.. but neither "make" nor "nmake" is
> built in my QT directories when I run "configure -static" in the QT
> folder.
Of course not, make is part of the mingw compiler suite.
Andreas
--
[ signature omitted ]
Message 5 in thread
Hi,
> I have a source code made with QT 3.3.4 which has been compiled in
> Linux which I now would like to compile in WinXP. I have struggled a
> [...]
Which exact version of Qt is this? Open-source? Commercial? Qt/X11?
Qt/Win? Qt/Embedded?
--
[ signature omitted ]
Message 6 in thread
Hi Dimitri,
This source code has earlier been compiled on linux with Qt/X11
version 3.4.4 (under GPL). I was wondering earlier in the thread if
this could be complied with the QT/embedded QT3 in windows XP (still
under GPL) but I guess the answer to that is no.
Thanks anyway!
Regards,
Martin
--
[ signature omitted ]