[Qt-creator] Failed to compile Qt Creator 3.6.0 using prebuilt Qt 5.5.0 MinGW
Orgad Shaneh
orgads at gmail.com
Thu Dec 10 10:45:43 CET 2015
Ok, your actual problem is:
g++ -x c++-header -c -pipe -fno-keep-inline-dllexport -O2 -std=c++0x -frtti
> -Wall -Wextra -fexceptions -mthreads -DUNICODE
> -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII
> -DQT_NO_CAST_FROM_ASCII -DQT_USE_FAST_OPERATOR_PLUS
> -DQT_USE_FAST_CONCATENATION -DAGGREGATION_LIBRARY -DQT_NO_DEBUG
> -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB
> -I../../../src -I../../../../qt-creator-master/src/libs
> -ID:/Project/Qt/qt-creator-master/tools
> -I../../../../qt-creator-master/src/plugins
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtConcurrent
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Irelease
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++ -o
> release/qtcreator_pch.h.gch/c++
> ../../../../qt-creator-master/src/shared/qtcreator_pch.h
> /bin/sh: -c: line 0: syntax error near unexpected token `('
> /bin/sh: -c: line 0: `gcc -x c-header -c -pipe -fno-keep-inline-dllexport
> -O2 -w -DUNICODE -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR
> -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_USE_FAST_OPERATOR_PLUS
> -DQT_USE_FAST_CONCATENATION -DSQLITE_API=__declspec(dllexport)
> -DBUILD_SQLITE_LIBRARY -DSQLITE_THREADSAFE=2 -DSQLITE_ENABLE_FTS4
> -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_UNLOCK_NOTIFY
> -DSQLITE_ENABLE_COLUMN_METADATA -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB
> -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I/src/libs/sqlite -I../../../src
> -I../../../../qt-creator-master/src/libs
> -ID:/Project/Qt/qt-creator-master/tools
> -I../../../../qt-creator-master/src/plugins
> -I../../../../qt-creator-master/src/libs/sqlite
> -I../../../../qt-creator-master/src/libs/3rdparty/sqlite
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtWidgets
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtGui
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtANGLE
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtConcurrent
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/include/QtCore -Irelease
> -IC:/Qt/Qt5.5.0/5.5/mingw492_32/mkspecs/win32-g++ -o
> release/qtcreator_pch.h.gch/c
> ../../../../qt-creator-master/src/shared/qtcreator_pch.h'
> Makefile.Release:846: recipe for target 'release/qtcreator_pch.h.gch/c'
> failed
> mingw32-make[4]: *** [release/qtcreator_pch.h.gch/c] Error 258
> mingw32-make[4]: Leaving directory
> 'd:/Project/Qt/build-qtcreator-Desktop/src/libs/sqlite'
> mingw32-make[3]: *** [release] Error 2
> Makefile:34: recipe for target 'release' failed
> mingw32-make[3]: Leaving directory
> 'd:/Project/Qt/build-qtcreator-Desktop/src/libs/sqlite'
> Makefile:358: recipe for target 'sub-sqlite-make_first' failed
> mingw32-make[2]: *** [sub-sqlite-make_first] Error 2
My guess is that you have cygwin in your path. Am I right?
- Orgad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20151210/dc9fe229/attachment.html>
More information about the Qt-creator
mailing list