Cross Platform Client Server application
-
Thanks Volker,
Earlier today, i downloaded the Qt SDK for windows, and tried to install it.. it got installed 75% and then some strange errors started coming on like:
9
.
.
.
.8.
.
.
..
7
.
.
.
.
.
and so on..It installed examples, Creator etc, but was not going further on installation. I opened creator and tried to run an example, but it said it can't find the QMake... This thing annoyed me for most of the time and i couldn't get any result out of it.. Can you elaborate this? I just want to get started with the Qt, and a lot of problems are coming forth..
Kashif
-
-
-
Did you do it for windows? I can't get it running at any cost.. For Mac, will I have to download the build and Interface Tools (206 MB) or the libs only (422 MB) binary package from here: http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x
Kashif
-
-
Then it's probably not installed. Go and download it from Apple's "XCode page":http://developer.apple.com/xcode/
Go with XCode 3 - the link is at the bottom of the right column. You will need to setup an Apple ID. More info on Qt's "Developing Qt Applications for Mac OS X":http://doc.qt.nokia.com/4.7/developing-on-mac.html. I don't know if XCode 4 is yet supported, but I suppose not.
BTW: It's not allowed to run Mac OS X Desktop version in a virtual machine.
-
(1) On windows, i downloaded the framework and tried to install and it said that it cant find mingw.. and directed me towards SDLK installation. I installed the SDK, now i can build QT examples, and the .exe is generated in the respective folder. But when I double click this exe to run, it says "The applicaiton has failed to start because mingwm10.dll was not found. Re-installing the application may fix this problem".. Any help?
(2) Also, after (1) is fixed, if i take this exe to some other system, where QT framework or SDK is not installed, will it work or not?
-
This is somewhat surprising me.. On windows, when i develop applications using Visual C++ (no Qt involved), I simple build the whole project as using in a static library, and as a result, I just deploy the single Exe of my applicaiton; no dll, no lib attached.. I wonder how it is not possible in Qt?
Kahsif
-
Static linking is not always the best solution. In fact, it is not supported for Qt Webkit module, so this might not work correctly in that case. And you might have problems with Qt plugins too.
Also, you have to keep in mind the licensing issues (please search the forums, it was discussed recently). The base line is that static linking against Qt most probably forces you to release the source code of your app under GPL (but I'm not a lawyer!).
On the mac, one can put all the libraries into the application bundle and that's it. The bundle appears like a single file to the user, there's hardly any installer needed (and in fact Mac users do not like them).
-
Volker thank you so much for such an informative reply.. Just one more favour.. how do i know which libraries will be needed?
One more thing: if i bundle the libraries into the application bundle, will the application work if Qt is not installed on Mac?
Kashif