An error occurred while compiling Qt. Could you help me?
Source: Internet
Author: User
An error occurred while compiling Qt. Could you please help me with the Linux general technology-Linux technology and application information? See the following for details. [I = s] This post was last edited by chentao0919
The qt-x11 has been installed, and now the compilation of the hello program make is always wrong
That is to say:
QApplication: the file or directory does not exist.
QLable: No file or directory
......
......
What is the reason? I have also found related information on the Internet, and set environment variables and so on. It is useless to change them according to what they have said,
Ask the Elders why?
# Include
# Include
Int main (int argc, char * argv [])
{
QApplication app (argc, argv );
QLabel * label = new QLabel ("Hello Qt! ");
Label-> show ();
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