Does QT for X11 include QT Creator?
-
Don't you have other lines that contains "error" ?
-
wrote on 7 Aug 2013, 21:00 last edited by
No. Unless there are some that have rolled off the command window (which retains 680 lines).
-
You can redirect the output to a file and inspect it to see where the error happened
-
wrote on 7 Aug 2013, 21:38 last edited by
You are right. There are several errors. Here are some of them:
g++ -c -pipe -Werror -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_CREATOR -DQML_BUILD_STATIC_LIB -DQBS_LIBRARY -DSRCDIR="/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib" -DQBS_VERSION="1.0.1" -DQT_NO_DEBUG -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_TESTLIB_LIB -DQT_SCRIPT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR="/home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/shared/qbs/src/lib" -I/usr/local/Qt-5.1.0/mkspecs/linux-g++ -I/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib -I/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib -I/home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src -I/usr/local/Qt-5.1.0/include -I/usr/local/Qt-5.1.0/include/QtXml -I/usr/local/Qt-5.1.0/include/QtConcurrent -I/usr/local/Qt-5.1.0/include/QtTest -I/usr/local/Qt-5.1.0/include/QtScript -I/usr/local/Qt-5.1.0/include/QtCore -I. -I. -o project.o /home/cpatterson/Downloads/qt-creator-2.8.0-src/src/shared/qbs/src/lib/api/project.cpp
.
.
.
cc1plus: warnings being treated as errors
/usr/local/Qt-5.1.0/include/QtCore/qbytearray.h:433: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/local/Qt-5.1.0/include/QtCore/qbytearray.h:438: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/local/Qt-5.1.0/include/QtCore/qarraydata.h:104: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/local/Qt-5.1.0/include/QtCore/qgenericatomic.h:96: error: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/local/Qt-5.1.0/include/QtCore/qbytearray.h:395: note: initialized from here
make[3]: *** [project.o] Error 1
make[3]: *** Waiting for unfinished jobs....
.
.
.
/usr/local/Qt-5.1.0/include/QtCore/qstring.h:918: note: initialized from here
make[3]: Leaving directory `/home/cpatterson/Downloads/qt-creator-2.8.0-src/build/src/shared/qbs/src/lib'
make[2]: *** [sub----shared-qbs-src-lib-make_first] Error 2
make[2]: *** Waiting for unfinished jobs.... -
You need to add it to PATH, or use directly:
@either
export PATH=/path/to/qmake:$PATH
or
/path/to/qmake/qmake myProject.pro
@
21/25