Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
5.0.0
-
None
Description
I try compile qtserial port for Qt 5.0.2 on Win32 platform and give error:
Z:\code\QtLib\QtSerialPort>cd ..
Z:\code\QtLib>md QtSerialPort-build
Z:\code\QtLib>cd QtSerialPort-build
Z:\code\QtLib\QtSerialPort-build>qmake ../QtSerialPort/qtserialport.pro
Info: creating cache file Z:/code/QtLib/QtSerialPort-build/.qmake.cache
Z:\code\QtLib\QtSerialPort-build>mingw32-make
cd src/ && ( test -e Makefile || C:/Qt/5.0.2/5.0.2/mingw47_32/bin/qmake.exe Z:/c
ode/QtLib/QtSerialPort/src/src.pro -o Makefile ) && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'z:/code/QtLib/QtSerialPort-build/src'
cd serialport/ && ( test -e Makefile || c:/Qt/5.0.2/5.0.2/mingw47_32/bin/qmake.e
xe Z:/code/QtLib/QtSerialPort/src/serialport/serialport.pro -o Makefile ) && c:/
Qt/5.0.2/Tools/MinGW/bin/mingw32-make -f Makefile
Project MESSAGE: C:/Qt/5.0.2/5.0.2/mingw47_32/bin/syncqt.bat -module QtSerialPor
t -version 5.1.0 -outdir Z:/code/QtLib/QtSerialPort-build Z:/code/QtLib/QtSerial
Port
<srcbase> = z:/code/QtLib/QtSerialPort
<outbase> = Z:/code/QtLib/QtSerialPort-build
QtSerialPort: created fwd-include header(s) for <srcbase>/src/serialport/
QtSerialPort: created fwd-include header(s) for <srcbase>/src/serialport/qt4supp
ort/
QtSerialPort: created headers.pri file
mingw32-make[2]: Entering directory 'z:/code/QtLib/QtSerialPort-build/src/serial
port'
c:/Qt/5.0.2/Tools/MinGW/bin/mingw32-make -f Makefile.Release all
mingw32-make[3]: Entering directory 'z:/code/QtLib/QtSerialPort-build/src/serial
port'
C:/Qt/5.0.2/5.0.2/mingw47_32/bin/moc.exe -DUNICODE -DQT_BUILD_SERIALPORT_LIB -DQ
T_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQ
T_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x0
40800 -D_USE_MATH_DEFINES -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -IZ:/co
de/QtLib/QtSerialPort/src/serialport -I'Z:/code/QtLib/QtSerialPort/src/serialpor
t' -I'../../include' -I'../../include/QtSerialPort' -I'../../include/QtSerialPor
t/5.1.0' -I'../../include/QtSerialPort/5.1.0/QtSerialPort' -I'tmp' -I'C:/Qt/5.0.
2/5.0.2/mingw47_32/include' -I'C:/Qt/5.0.2/5.0.2/mingw47_32/include/QtCore' -I'C
:/Qt/5.0.2/5.0.2/mingw47_32/include/QtCore/5.0.2' -I'C:/Qt/5.0.2/5.0.2/mingw47_3
2/include/QtCore/5.0.2/QtCore' -I'.moc/release_shared' -I'.' -I'C:/Qt/5.0.2/5.0.
2/mingw47_32/mkspecs/win32-g++' -D_GNUC_ -DWIN32 Z:/code/QtLib/QtSerialPort/sr
c/serialport/qserialport.h -o .moc/release_shared/moc_qserialport.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -fno-exceptions -frtti -W
all -Wextra -DUNICODE -DQT_BUILD_SERIALPORT_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO
_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEP
RECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQ
T_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -IZ:/code/QtLib/QtSerialPort/src/ser
ialport -I'Z:/code/QtLib/QtSerialPort/src/serialport' -I'../../include' -I'../..
/include/QtSerialPort' -I'../../include/QtSerialPort/5.1.0' -I'../../include/QtS
erialPort/5.1.0/QtSerialPort' -I'tmp' -I'C:/Qt/5.0.2/5.0.2/mingw47_32/include' -
I'C:/Qt/5.0.2/5.0.2/mingw47_32/include/QtCore' -I'C:/Qt/5.0.2/5.0.2/mingw47_32/i
nclude/QtCore/5.0.2' -I'C:/Qt/5.0.2/5.0.2/mingw47_32/include/QtCore/5.0.2/QtCore
' -I'.moc/release_shared' -I'.' -I'C:/Qt/5.0.2/5.0.2/mingw47_32/mkspecs/win32-g+
+' -o .obj/release_shared/qserialport.o Z:/code/QtLib/QtSerialPort/src/serialpor
t/qserialport.cpp
In file included from Z:/code/QtLib/QtSerialPort/src/serialport/qserialport.h:48
:0,
from Z:/code/QtLib/QtSerialPort/src/serialport/qserialport.cpp:
45:
../../include/QtSerialPort/qserialportglobal.h:1:91: fatal error: ../../include/
QtSerialPort/../../../../../../z:/code/QtLib/QtSerialPort/src/serialport/qserial
portglobal.h: Invalid argument
compilation terminated.
Makefile.Release:287: recipe for target '.obj/release_shared/qserialport.o' fail
ed
mingw32-make[3]: *** [.obj/release_shared/qserialport.o] Error 1
mingw32-make[3]: Leaving directory 'z:/code/QtLib/QtSerialPort-build/src/serialp
ort'
Makefile:38: recipe for target 'release-all' failed
mingw32-make[2]: *** [release-all] Error 2
mingw32-make[2]: Leaving directory 'z:/code/QtLib/QtSerialPort-build/src/serialp
ort'
Makefile:38: recipe for target 'sub-serialport-make_first' failed
mingw32-make[1]: *** [sub-serialport-make_first] Error 2
mingw32-make[1]: Leaving directory 'z:/code/QtLib/QtSerialPort-build/src'
makefile:40: recipe for target 'sub-src-make_first' failed
mingw32-make: *** [sub-src-make_first] Error 2
//-------------------
Win32 (Windows XP SP3 Eng)
Qt 5.0.2 and MinGW 4.7.2 from here (http://download.qt-project.org/official_releases/qt/5.0/5.0.2/qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe)
Qt installed to C:\Qt\5.0.2
qtserialport placed to z:\code\QtLib\QtSerialPort
build directory z:\code\QtLib\QtSerialPort-build