Brief description of QT4 programming process under Fedora9 [Figure]

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.