Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Compiler Error under Qt5.0.1-mingw for Windows 7 (x86_64) -- Compiler Seems To Ignore Directory Levels

$
0
0
When I attempt to build projects under Qt 5.0.1-mingw I get the following type of error — for example, while compiling the “digital clock” example: g++.exe: error: ..digitalclockmain.cpp: No such file or directory The compiler appears to ignore the “\” between “digitalclock” (the parent directory) and “main.cpp” the file. BTW, it happens on ALL of my projects, even ones that I’ve compiled before on earlier version of Qt. Here is the full compiler line: C:/Qt/Qt5.0.1/Tools/MinGW/bin/mingw32-make -f Makefile.Debug mingw32-make1: Entering directory ‘C:/Users/Public/Documents/workspace/digitalclock-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug’ g++ -c -pipe -fno-keep-inline-dllexport -g -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -I..\digitalclock -I”..\digitalclock\qtquick2applicationviewer” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtQuick” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtQml” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtNetwork” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtGui” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\include\QtCore” -I“debug” -I”.” -I”..\..\..\..\..\Qt\Qt5.0.1\5.0.1\mingw47_32\mkspecs\win32-g++” -o debug\main.o ..\digitalclock\main.cpp Does anyone have any thoughts on this issue or how to correct it? I’ve uninstalled and reinstalled Qt5.0.1-mingw several times. I did install Qt5.0.1-msvc2010 and can report that it doesn’t happen under that compiler, but I’d rather stick with mingw32. Thanks, George

Viewing all articles
Browse latest Browse all 18427

Trending Articles