QT Development Compilation Problem Memo

Source: Internet
Author: User

Compiling the QT and QT Quick Development Combat Solution

Code, compile an error, prompt:

 cannot find file:e:\ learning materials \qt\ "QT and QT Quick development real-combat fine solution" code \src\ 3  \3 -3  \myplayer\myplayer.pro.  16 : 10 : 29 : Process  c:\qt\qt5.5.0\5.5\mingw492_32\bin\ Qmake.exe   exit, exit code 2  . Error  while  building/deploying Project Myplayer (kit:desktop Qt 5.5 . 0   MinGW 32bit) When executing step   " qmake   "  

Online says it is possible because the path contains Chinese.

For the hint "qtgui/qapplication: No such file or directory",

1. pro file, QT + + core GUI changed to QT + + core GUI widgets2. h file, #include <QtGui/QApplication> change to # include <QApplication> reason is Qt5 source file location Change

QT Development Compilation Problem Memo

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.