[ MarkoBalkan @ 04.02.2008. 13:14 ] @
ima li ovdje netko da se bavi programiranjem u QT-u? |
[ MarkoBalkan @ 04.02.2008. 13:14 ] @
[ Nedeljko @ 04.02.2008. 15:26 ] @
Ima.
[ karas @ 04.02.2008. 19:06 ] @
Nedeljko, ima li konceptualnih razlika izmedju Qt3 i Qt4, ili je Qt4 samo bogatiji klasama?
[ MarkoBalkan @ 04.02.2008. 21:43 ] @
ne radi mi qmake na win32!
imam folder u kojem imam projekt. pokrenem u dosu qmake -project i ne radi. [ karas @ 05.02.2008. 08:26 ] @
Da li su ti podesene putanje do Qt-a? Koju gresku prijavljuje?
[Ovu poruku je menjao karas dana 05.02.2008. u 09:47 GMT+1] [ MarkoBalkan @ 05.02.2008. 08:54 ] @
pokrenem qmake -project i to prođe.
pokrenem poslije toga qmake file.pro i to prođe. napravi makefile, makefile.debug, makefile.release i dva foldera, debug i realese. i kako napraviti exe file? [ karas @ 05.02.2008. 10:50 ] @
Pod Linuksom pokrenem make i on iskompajlira dobijeni makefile. Evo sta kaze knjiga kako raditi na raznim platformama:
Citat: It is now possible to try the program on your own machine. First, you will need to install Qt 4.1.1 (or a later Qt 4 release), a process that is explained in Appendix A. From now on, we will assume that you have a correctly installed copy of Qt 4 and that Qt's bin directory is in your PATH environment variable. (On Windows, this is done automatically by the Qt installation program.) You will also need the program's source code in a file called hello.cpp in a directory called hello. You can type in hello.cpp yourself, or copy it from the CD provided with this book, where it is available as /examples/chap01/hello/hello.cpp. From a command prompt, change the directory to hello, then type qmake -project to create a platform-independent project file (hello.pro), then type qmake hello.pro to create a platform-specific makefile from the project file. Type make to build the program.[*] Run it by typing hello on Windows, ./hello on Unix, and open hello.app on Mac OS X. To terminate the program, click the close button in the window's title bar. [*] If you get a compiler error on the <QApplication> include, it probably means that you are using an older version of Qt. Make sure that you are using Qt 4.1.1 or a later Qt 4 release. If you are using Windows and have installed the Qt Open Source Edition and the MinGW compiler, you will have a shortcut to a DOS Prompt window that has all the environment variables correctly set up for Qt. If you start this window, you can compile Qt applications within it using qmake and make as described above. The executables produced are put in the application's debug or release folder, for example, C:\qt-book\hello\release\hello.exe. If you are using Microsoft Visual C++, you will need to run nmake instead of make. Alternatively, you can create a Visual Studio project file from hello.pro by typing qmake -tp vc hello.pro and then build the program in Visual Studio. If you are using Xcode on Mac OS X, you can generate an Xcode project using the command qmake -spec macx-xcode E sad, ne znam koji kompajler koristis. [ MarkoBalkan @ 05.02.2008. 11:20 ] @
koristim mingw!
riješeno. [ karas @ 05.02.2008. 11:27 ] @
Onda bi make trebalo da zavrsi posao, kao sto pise.
[ MarkoBalkan @ 05.02.2008. 14:54 ] @
dali ima netko knjigu practical QT u pdf-u?
[ Nedeljko @ 06.02.2008. 11:02 ] @
Imam službeni udžbenik Qt-a 4 u chm formatu. Qt 4 se konceptualno razlikuje od Qt-a 3 i sa njim nije kompatibilan ni binarno ni na nivou sorsa. Drugim rečima, ako dinamički povezan Qt 3 projekat probaš da pokreneš korišćenjem Qt 4 dll-ova ili da za linkovanje Qt 3 projekta koristiš Qt 4 ili da pomoću Qt-a 4 kompajliraš Qt 3 projekat, nećeš uspeti. Za ovo poslednje treba koristiti qt3to4 alat. Nikada ga nisam probao.
[ MarkoBalkan @ 06.02.2008. 11:57 ] @
programming with QT?
ako je to ta knjiga, imam je i ja. [ Nedeljko @ 06.02.2008. 13:20 ] @
Nije nego ova.
http://trolltech.org/developer/documentation/books/2 Koliko vidim, ti imaš ovu http://trolltech.org/developer/documentation/books/8 koju ja nemam. Ako koristiš MinGW, onda je procedura prevođenja qmake -project qmake mingw32-make [ MarkoBalkan @ 06.02.2008. 13:34 ] @
imam jednu i drugu.
još imam ove http://trolltech.org/developer...oks/book.2007-05-29.0625103168 http://trolltech.org/developer...oks/book.2007-08-03.4277794792 http://trolltech.org/developer...oks/book.2007-10-09.3781870350 http://trolltech.org/developer/documentation/books/1 ona koja meni treba je, a nisam je našao na p2p ili torrentu. http://trolltech.org/developer/documentation/books/7 [ MarkoBalkan @ 06.02.2008. 19:13 ] @
kolko dođe komercijalna verzija QT 4.3 za linux?
sad su maknuli cijenu. znam da je trojka bila oko 3000 eura. Copyright (C) 2001-2025 by www.elitesecurity.org. All rights reserved.
|