Qt creator 編譯錯誤 :cannot find file .pro qt
其實問題的解決辦法很簡單:就是Qt不支援中文的路徑,把原始碼的路徑全部改成英文即可解決問題。
首先問題發生在我執行網上的例子程式時,重新構建編譯也是出錯,提示:
Cannot find file: F:\Pro\Qt\QT5開發及例項\本書源程式\CH1\CH101\Dialog\Dialog.pro.
21:55:03: 程序"D:\Qt\Qt5.5.0\5.5\msvc2013_64\bin\qmake.exe"退出,退出程式碼 2 。
Error while building/deploying project Dialog (kit: Desktop Qt 5.5.0 MSVC2013 64bit)
When executing step "qmake"
QT Creator對大於帶有兩個空格的目錄和中文命名的目錄不支援!!
究其原因 應該是qmake對帶有空格的目錄和中文命名的目錄不支援!!
相關推薦
Qt creator 編譯錯誤 :cannot find file .pro qt
其實問題的解決辦法很簡單:就是Qt不支援中文的路徑,把原始碼的路徑全部改成英文即可解決問題。 首先問題發生在我執行網上的例子程式時,重新構建編譯也是出錯,提示: Cannot find file: F:\Pro\Qt\QT5開發及例項\本書源程式\CH1\CH101\Di
Qt creator 編譯錯誤:無法解析的外部符號(命令)
log void virtual win idg track deb dia popu 問題來自於:僅僅是在creator 中加入了一個新的DIalog類,並在main(),中實例化並show。就出現例如以下的錯誤: main.obj:-1: error: L
qt程式編譯錯誤:could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’
linux下安裝Qt5.7後新增qmake環境變數後出現錯誤 執行: qmake -v 出現錯誤:qmake: could not exec ‘/usr/lib/x86_64-linux-gnu/qt4/bin/qmake’: No such file or directory 分析: qtch
用pyinstaller打包python程式,解決打包時的錯誤:Cannot find existing PyQt5 plugin directories
在打包時會出現問題Cannot find existing PyQt5 plugin directories ,具體截圖如下 解決方法就是用everything搜尋PyQt5,找到 /Library/plugins路徑下的PyQt5資料夾,將裡面的dll動態庫pyqt5qmlplugin.
php安裝擴充套件錯誤:Cannot find config.m4. Make sure that you run /usr/local/bin/phpize in the top level sourc
如果在安裝php擴充套件的時候出現如題的錯誤:只需到php的安裝目錄下如:cd /usr/local/php/php-7.0.4/ext/openssl 執行命令: cp ./config0.m4
Ubuntu使用qt編譯時出現cannot find -lGL錯誤解決辦法
使用qtcreator編譯時出現:-1: error: cannot find -lGL這樣的錯誤, 這是由於缺少連結庫原因造成的,使用下面命令: sudo apt-get install libqt4-dev 或者 sudo apt-get install libgl1-mesa-dev
Caffe-GPU編譯錯誤:In file included from src/caffe/util/signal_handler.cpp:7:0:./include/caffe/util/signa
編譯Caffe-GPU時出現以下錯誤: In file included from src/caffe/util/signal_handler.cpp:7:0: ./include/caffe/util/signal_handler.h:4:34: fatal error: caff
Qt Creator 編譯 ROS 包出現連結錯誤解決辦法
若編譯過程中,出現 cannot find -ltf cannot find -lroscpp ... 主要是因為 Qt 編譯 ROS 後連結環節出現問題,主要原因是 Qt 啟動時沒有載入 ROS 相關的環境變數,解決辦法如下: sudo vim /usr/share/ap
Ubuntu下Qt編譯報錯“cannot find -lGL”的解決方案
Solved the problem by installing the “libglu1-mesa-dev” package. sudo apt-get install libglu1-mesa-dev -y
Qt編譯錯誤:底層由於接收到作業系統的訊號而停止
double vec = ((m_game->startpos-endPos)*4).length(); /* char Info[24]; sprintf(Info,"%0.2f",sqrt(vec)); m_lable->setT
tesseract的編譯安裝 tesseract編譯錯誤:fatal error: allheaders.h: No such file or directory
需要安裝: <span style="font-family:'Microsoft YaHei';font-size:14px;">apt-get install autoconfapt-get install automakeapt-get install li
React Native demo執行報錯:Cannot find entry file index.android.js in any of the roots
android執行GaGaMall出現如圖錯誤,怎麼弄都不行,index.android.js明明在根目錄的,頭疼的要死...可是同事那邊下的,在npm install後,拷貝過來又行了... 然後想了想,我原來是用cnpm install安裝的,可能是cnpm出了問題,
Ubuntu11.04 Android編譯時遇到 cannot find -lncurses錯誤解決辦法
Android編譯時遇到 cannot find -lncurses錯誤解決辦法,是因為沒有安裝libncurses5-dev ncurses是一個字元終端下螢幕控制的基本庫。 要編譯一些老程式,還經常遇得到。 只需執行安裝命令: ubuntu 11.04 32bit下命
問題:QT mplayer 編譯錯誤call of overloaded 'number(HWND_*)' is ambiguous
當使用QT Creater 編寫 基於mplayer播放器的時候。使用winId();獲取視窗ID總是編譯不過。 args<<"-wid"<<QString::number(renderTarget->winId()); 因為這種寫法是用在
caffe深度學習【十】編譯錯誤:In file included from ./include/caffe/util/device_alternate.hpp:40:0,
早上想跑一下目標檢測RON演算法 git下來之後,要編譯他的caffe時,出現如下問題: PROTOC src/caffe/proto/caffe.proto CXX .build_release/src/caffe/proto/caffe.pb.cc CXX s
Qt編譯錯誤: 'UnicodeUTF8' is not a member of 'QApplication'
--->編譯遇到類似錯誤: error: QCalendarWidget: No such file or directory error: QComboBox: No such file or
VS2010編譯錯誤:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x
下面是徹底解決方法:在工程的stdafx.h中新增(如有類似語句,需註釋掉)#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.#define WI
xcode工程編譯錯誤:No architectures to compile for
bis clear 文檔 哪些 i386 提高 href nts b2c 問題 開發環境:xcode6,iPhone6模擬器 xcode工程編譯錯誤:No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active
命令行可以執行python腳本,jenkins裏執行報錯:cannot find Chrome binary
重新 jenkins HR message pytho ann 命令 web AD “selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome bina
錯誤:Binary XML file line #27: Error inflating class android.support.v7.widget.ActionBarContainer
Caused by: android.view.InflateException: Binary XML file line #27: Binary XML file line #27: Error inflating class android.support.v7.widget.