![]() |
Compiling in Qt
I am trying to take my first step into IT programming by not programming the whole GUI (Using Qt).
I was trying to compile the application for the Windows PC first, just to see the results. I have not gotten it to compile though, mainly because nothing I could find was clear. Most tutorials say type "qmake" into the command console. That OBVIOUSLY does not work without some previous steps... Can anyone help me out? I have tried copying the qmake.exe into the folder with my project, and it outputs a Makefile. What should I do with that? Typing "make" does nothing. |
Re: Compiling in Qt
Step 1: Install coLinux.
Step 2: Log in to your new Linux box (while you're running windows). I imagine you need to get quite a few tools to compile qt apps directly in windows (if it's possible, I'm not sure). cygwin might be an alternative. Try using one of those search engine thingies and find pages about "qt build windows" or "qt cygwin" etc. |
Re: Compiling in Qt
Ok, thanks :)
The coLinux will come in handy. I will try that out. |
Re: Compiling in Qt
QT has a windows port.. I've just never used it. Only ever dealt with the Linux side as andreww is suggesting.
http://trolltech.com/developer/downloads/qt/windows |
Re: Compiling in Qt
I actually got that version. I just don't get how to use MinGW...
|
Re: Compiling in Qt
qmake -o Makefile myfile.pro
make Should be the procedure IIRC |
Re: Compiling in Qt
"make" is not defined when I do that. I actually got it to work by copying everything in the MingW bin folder to my project folder, and running "ming32-make".
|
Re: Compiling in Qt
Well.. having never used it I'll plaguerize this guy:
http://cniehaus.livejournal.com/47428.html Quote:
|
Re: Compiling in Qt
windows is horrible as a qt dev platform. you can use qt along with ms visual studio, but you would have to pay for it.
just use linux, much easier. |
Re: Compiling in Qt
On the other hand, I've manage to easily develop some Qt apps on Windows ... by programming in Python using PyQt. With the free open source version.
|
Re: Compiling in Qt
You don't need Visual Studio to do development on Windows. The Open Source version for windows does not include integration for it anyway. Grab the mingw package from ftp.trolltech.com
When you install the Qt for Windows, it should give you a link in the Start Menu Qt 4.4.1 Command Prompt. This will set up the development environment. After this you will need a good editor. Notepad++ is ok, emacs and vim run on windows as well. |
All times are GMT. The time now is 23:10. |
vBulletin® Version 3.8.8