QT4 is an open-source, very powerful cross-platform development framework. For example, if you want to develop a program with an interface rather than just a terminal, VB is the fastest in Windows, in Linux, non-QT4 does not belong to anyone. It has powerful functions and is very fast to learn. While QT4 comes with Fedora9, which saves us the trouble of re-installing. It should be noted that, because Fedora9 also retains QT3, it may be necessary to support many previous programs. By default, the qmake command is used to compile QT3 while the qmake-qt4 is
QT4 is an open-source, very powerful cross-platform development framework. For example, if you want to develop a program with an interface rather than just a terminal, VB is the fastest in Windows, in Linux, non-QT4 does not belong to anyone. It has powerful functions and is very fast to learn. In Fedora 9, QT4 comes with it, which saves us the trouble of re-installing. Please note that, because Fedora 9 also retains QT3, it may be necessary to support many previous programs.
By default, the qmake command is used to compile QT3, while the qmake-qt4 is to compile the QT4 source code, for example:
# Qmake-qt4-project
# Qmake-qt4 hello. pro
# Make
This will set hello. cpp is compiled into an executable file hello. Note that the header file of QT4 has changed compared with QT3. h. The new header file is not included, which is a new feature of C ++ compared with C. According to thinkin C ++, it is to avoid unnecessary trouble caused by different extensions, except for the header file extension. h can also be. hpp and so on. Run now. /hello, a hello form is displayed. For more usage, see C ++ GUIProgramming with Qt 4, I am just reminding you that the QT4 programming tool under Fedora9 is not qmake but qmake-qt4.