On Mon, Mar 28, 2016 at 4:37 PM, Thiago Macieira <[email protected]> wrote:
> On segunda-feira, 28 de março de 2016 15:00:04 PDT Partha Bagchi wrote: > > On Mon, Mar 28, 2016 at 1:09 PM, Thiago Macieira < > [email protected]> > > wrote: > > > On segunda-feira, 28 de março de 2016 12:34:38 PDT Partha Bagchi wrote: > > > > However, during configuration, I get errors like > > > > C:optsopt64-kdeincludeglibconfig.h unknown command. > > > > > > Show the entire command that failed. > > > > > 5.7 does not reach even glib. > > Please paste the full output. > OK. + cd qtbase + /usr/src/qt5/qtbase/configure -top-level --prefix=/opt -opensource -confirm-license -nomake tests -nomake examples -no-separate-debug-info -release -force-debug-info -reduce-relocations -optimized-qmake -platform win32-g++ -I /opt/include -I /opt/include/freetype2 -I /opt/include/glib-2.0 -L /opt/lib -lglib-2.0 -lintl -fontconfig -pkg-config -openssl -glib -gtk -v This is the Qt Open Source Edition. You are licensed to use this software under the terms of the GNU Lesser General Public License (LGPL) versions 3. You are also licensed to use this software under the terms of the GNU General Public License (GPL) versions 2. You have already accepted the terms of the Open Source license. DEFAULT_INCDIRS="Z:/foss/gcc/64bit/gcc-posix-5.3.0/lib/gcc/x86_64-w64-mingw32/5.3.0/include Z:/foss/gcc/64bit/gcc-posix-5.3.0/lib/gcc/x86_64-w64-mingw32/5.3.0/include-fixed Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++ Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32 Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++/backward " DEFAULT_LIBDIRS="/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/lib/;Z /foss/gcc/64bit/gcc-posix-5.3.0/lib/;Z /foss/gcc/64bit/gcc-posix-5.3.0/lib Z /foss/gcc/64bit/gcc-posix-5.3.0/lib/gcc/x86_64-w64-mingw32/5.3.0/;Z /foss/gcc/64bit/gcc-posix-5.3.0/lib/gcc/;Z " <srcbase> = Z:/src/qt5/qtbase <outbase> = Z:/src/qt5/qtbase QtCore: created fwd-include header(s) for <srcbase>/src/corelib/animation/ { qabstractanimation.h (1), qabstractanimation_p.h (1), qanimationgroup.h (1), qanimationgroup_p.h (1), qparallelanimationgroup.h (1), qparallelanimationgroup_p.h (1), qpauseanimation.h (1), qpropertyanimation.h (1), qpropertyanimation_p.h (1), qsequentialanimationgroup.h (1), qsequentialanimationgroup_p.h (1), qvariantanimation.h (1), qvariantanimation_p.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/arch/ { qatomic_bootstrap.h (1), qatomic_cxx11.h (1), qatomic_msvc.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/codecs/ { cp949codetbl_p.h (1), qbig5codec_p.h (1), qeucjpcodec_p.h (1), qeuckrcodec_p.h (1), qgb18030codec_p.h (1), qiconvcodec_p.h (1), qicucodec_p.h (1), qisciicodec_p.h (1), qjiscodec_p.h (1), qjpunicode_p.h (1), qlatincodec_p.h (1), qsimplecodec_p.h (1), qsjiscodec_p.h (1), qtextcodec.h (1), qtextcodec_p.h (1), qtsciicodec_p.h (1), qutfcodec_p.h (1), qwindowscodec_p.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/global/ { qcompilerdetection.h (1), qconfig-dist.h (1), qconfig-large.h (1), qconfig-medium.h (1), qconfig-minimal.h (1), qconfig-nacl.h (1), qconfig-small.h (1), qendian.h (1), qflags.h (1), qglobal.h (1), qglobalstatic.h (1), qhooks_p.h (1), qisenum.h (1), qlibraryinfo.h (1), qlogging.h (1), qnamespace.h (1), qnumeric.h (1), qnumeric_p.h (1), qprocessordetection.h (1), qsysinfo.h (1), qsystemdetection.h (1), qt_pch.h (1), qt_windows.h (1), qtypeinfo.h (1), qtypetraits.h (1), qversiontagging.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/io/ { qabstractfileengine_p.h (1), qbuffer.h (1), qdatastream.h (1), qdatastream_p.h (1), qdataurl_p.h (1), qdebug.h (1), qdebug_p.h (1), qdir.h (1), qdir_p.h (1), qdiriterator.h (1), qfile.h (1), qfile_p.h (1), qfiledevice.h (1), qfiledevice_p.h (1), qfileinfo.h (1), qfileinfo_p.h (1), qfileselector.h (1), qfileselector_p.h (1), qfilesystemengine_p.h (1), qfilesystementry_p.h (1), qfilesystemiterator_p.h (1), qfilesystemmetadata_p.h (1), qfilesystemwatcher.h (1), qfilesystemwatcher_fsevents_p.h (1), qfilesystemwatcher_inotify_p.h (1), qfilesystemwatcher_kqueue_p.h (1), qfilesystemwatcher_p.h (1), qfilesystemwatcher_polling_p.h (1), qfilesystemwatcher_win_p.h (1), qfsfileengine_iterator_p.h (1), qfsfileengine_p.h (1), qiodevice.h (1), qiodevice_p.h (1), qipaddress_p.h (1), qlockfile.h (1), qlockfile_p.h (1), qloggingcategory.h (1), qloggingregistry_p.h (1), qnoncontiguousbytedevice_p.h (1), qprocess.h (1), qprocess_p.h (1), qresource.h (1), qresource_iterator_p.h (1), qresource_p.h (1), qsavefile.h (1), qsavefile_p.h (1), qsettings.h (1), qsettings_p.h (1), qstandardpaths.h (1), qstorageinfo.h (1), qstorageinfo_p.h (1), qtemporarydir.h (1), qtemporaryfile.h (1), qtemporaryfile_p.h (1), qtextstream.h (1), qtextstream_p.h (1), qtldurl_p.h (1), qurl.h (1), qurl_p.h (1), qurlquery.h (1), qurltlds_p.h (1), qwindowspipereader_p.h (1), qwindowspipewriter_p.h (1), qwinoverlappedionotifier_p.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/itemmodels/ { qabstractitemmodel.h (1), qabstractitemmodel_p.h (1), qabstractproxymodel.h (1), qabstractproxymodel_p.h (1), qidentityproxymodel.h (1), qitemselectionmodel.h (1), qitemselectionmodel_p.h (1), qsortfilterproxymodel.h (1), qstringlistmodel.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/json/ { qjson_p.h (1), qjsonarray.h (1), qjsondocument.h (1), qjsonobject.h (1), qjsonparser_p.h (1), qjsonvalue.h (1), qjsonwriter_p.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/kernel/ { qabstracteventdispatcher.h (1), qabstracteventdispatcher_p.h (1), qabstractnativeeventfilter.h (1), qbasictimer.h (1), qcfsocketnotifier_p.h (1), qcore_mac_p.h (1), qcore_unix_p.h (1), qcoreapplication.h (1), qcoreapplication_p.h (1), qcorecmdlineargs_p.h (1), qcoreevent.h (1), qcoreglobaldata_p.h (1), qcrashhandler_p.h (1), qeventdispatcher_cf_p.h (1), qeventdispatcher_glib_p.h (1), qeventdispatcher_unix_p.h (1), qeventdispatcher_win_p.h (1), qeventdispatcher_winrt_p.h (1), qeventloop.h (1), qeventloop_p.h (1), qfunctions_fake_env_p.h (1), qfunctions_nacl.h (1), qfunctions_p.h (1), qfunctions_vxworks.h (1), qfunctions_wince.h (1), qfunctions_winrt.h (1), qjni_p.h (1), qjnihelpers_p.h (1), qmath.h (1), qmetaobject.h (1), qmetaobject_moc_p.h (1), qmetaobject_p.h (1), qmetaobjectbuilder_p.h (1), qmetatype.h (1), qmetatype_p.h (1), qmetatypeswitcher_p.h (1), qmimedata.h (1), qobject.h (1), qobject_impl.h (1), qobject_p.h (1), qobjectcleanuphandler.h (1), qobjectdefs.h (1), qobjectdefs_impl.h (1), qpointer.h (1), qpoll_p.h (1), qppsattribute_p.h (1), qppsattributeprivate_p.h (1), qppsobject_p.h (1), qppsobjectprivate_p.h (1), qsharedmemory.h (1), qsharedmemory_p.h (1), qsignalmapper.h (1), qsocketnotifier.h (1), qsystemerror_p.h (1), qsystemsemaphore.h (1), qsystemsemaphore_p.h (1), qtimer.h (1), qtimerinfo_unix_p.h (1), qtranslator.h (1), qtranslator_p.h (1), qvariant.h (1), qvariant_p.h (1), qwineventnotifier.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/mimetypes/ { qmimedatabase.h (1), qmimedatabase_p.h (1), qmimeglobpattern_p.h (1), qmimemagicrule_p.h (1), qmimemagicrulematcher_p.h (1), qmimeprovider_p.h (1), qmimetype.h (1), qmimetype_p.h (1), qmimetypeparser_p.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/plugin/ { qelfparser_p.h (1), qfactoryinterface.h (1), qfactoryloader_p.h (1), qlibrary.h (1), qlibrary_p.h (1), qmachparser_p.h (1), qplugin.h (1), qpluginloader.h (1), qsystemlibrary_p.h (1), quuid.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/statemachine/ { qabstractstate.h (1), qabstractstate_p.h (1), qabstracttransition.h (1), qabstracttransition_p.h (1), qeventtransition.h (1), qeventtransition_p.h (1), qfinalstate.h (1), qfinalstate_p.h (1), qhistorystate.h (1), qhistorystate_p.h (1), qsignaleventgenerator_p.h (1), qsignaltransition.h (1), qsignaltransition_p.h (1), qstate.h (1), qstate_p.h (1), qstatemachine.h (1), qstatemachine_p.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/thread/ { qatomic.h (1), qbasicatomic.h (1), qexception.h (1), qfuture.h (1), qfutureinterface.h (1), qfutureinterface_p.h (1), qfuturesynchronizer.h (1), qfuturewatcher.h (1), qfuturewatcher_p.h (1), qgenericatomic.h (1), qmutex.h (1), qmutex_p.h (1), qmutexpool_p.h (1), qorderedmutexlocker_p.h (1), qreadwritelock.h (1), qreadwritelock_p.h (1), qresultstore.h (1), qrunnable.h (1), qsemaphore.h (1), qthread.h (1), qthread_p.h (1), qthreadpool.h (1), qthreadpool_p.h (1), qthreadstorage.h (1), qwaitcondition.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/tools/ { qalgorithms.h (1), qarraydata.h (1), qarraydataops.h (1), qarraydatapointer.h (1), qbitarray.h (1), qbytearray.h (1), qbytearray_p.h (1), qbytearraylist.h (1), qbytearraymatcher.h (1), qbytedata_p.h (1), qcache.h (1), qchar.h (1), qcollator.h (1), qcollator_p.h (1), qcommandlineoption.h (1), qcommandlineparser.h (1), qcontainerfwd.h (1), qcontiguouscache.h (1), qcryptographichash.h (1), qdatetime.h (1), qdatetime_p.h (1), qdatetimeparser_p.h (1), qdoublescanprint_p.h (1), qeasingcurve.h (1), qelapsedtimer.h (1), qfreelist_p.h (1), qharfbuzz_p.h (1), qhash.h (1), qhashfunctions.h (1), qiterator.h (1), qline.h (1), qlinkedlist.h (1), qlist.h (1), qlocale.h (1), qlocale_data_p.h (1), qlocale_p.h (1), qlocale_tools_p.h (1), qmap.h (1), qmargins.h (1), qmessageauthenticationcode.h (1), qpair.h (1), qpodlist_p.h (1), qpoint.h (1), qqueue.h (1), qrect.h (1), qrefcount.h (1), qregexp.h (1), qregularexpression.h (1), qringbuffer_p.h (1), qscopedpointer.h (1), qscopedpointer_p.h (1), qscopedvaluerollback.h (1), qset.h (1), qshareddata.h (1), qsharedpointer.h (1), qsharedpointer_impl.h (1), qsimd_p.h (1), qsize.h (1), qstack.h (1), qstring.h (1), qstringalgorithms_p.h (1), qstringbuilder.h (1), qstringiterator_p.h (1), qstringlist.h (1), qstringmatcher.h (1), qtextboundaryfinder.h (1), qtimeline.h (1), qtimezone.h (1), qtimezoneprivate_data_p.h (1), qtimezoneprivate_p.h (1), qtools_p.h (1), qunicodetables_p.h (1), qunicodetools_p.h (1), qvarlengtharray.h (1), qvector.h (1), qversionnumber.h (1) } QtCore: created fwd-include header(s) for <srcbase>/src/corelib/xml/ { qxmlstream.h (1), qxmlstream_p.h (1), qxmlutils_p.h (1) } Creating qmake... g++ -c -o project.o -DUNICODE -g -IZ:/src/qt5/qtbase/qmake -IZ:/src/qt5/qtbase/qmake/library -IZ:/src/qt5/qtbase/qmake/generators -IZ:/src/qt5/qtbase/qmake/generators/unix -IZ:/src/qt5/qtbase/qmake/generators/win32 -IZ:/src/qt5/qtbase/qmake/generators/mac -IZ:/src/qt5/qtbase/qmake/generators/integrity -I../include -I../include/QtCore -I../include/QtCore/5.7.0 -I../include/QtCore/5.7.0/QtCore -I../src/corelib/global -DHAVE_QCONFIG_CPP -IZ:/src/qt5/qtbase/mkspecs/win32-g++ -IZ:/src/qt5/qtbase/tools/shared -DQT_VERSION_STR=\"5.7.0\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=7 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -DQT_NO_STANDARDPATHS Z:/src/qt5/qtbase/qmake/project.cpp In file included from ../include/QtCore/qglobal.h:1:0, from Z:/src/qt5/qtbase/qmake/library/qmake_global.h:32, from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:32, from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36, from Z:/src/qt5/qtbase/qmake/project.h:32, from Z:/src/qt5/qtbase/qmake/project.cpp:29: Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:1123:23: error: expected ',' or '...' before '&&' token void qAsConst(const T &&) Q_DECL_EQ_DELETE; ^ In file included from ../include/QtCore/qhash.h:1:0, from Z:/src/qt5/qtbase/qmake/library/proitems.h:36, from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:33, from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36, from Z:/src/qt5/qtbase/qmake/project.h:32, from Z:/src/qt5/qtbase/qmake/project.cpp:29: Z:/src/qt5/qtbase/src/corelib/tools/qhash.h: In member function 'QPair<QHash<K, V>::iterator, QHash<K, V>::iterator> QHash<K, V>::equal_range(const Key&)': Z:/src/qt5/qtbase/src/corelib/tools/qhash.h:953:10: error: 'pair' does not name a type auto pair = qAsConst(*this).equal_range(akey); ^ Z:/src/qt5/qtbase/src/corelib/tools/qhash.h:954:31: error: 'pair' was not declared in this scope return qMakePair(iterator(pair.first.i), iterator(pair.second.i)); ^ Z:/src/qt5/qtbase/src/corelib/tools/qhash.h:954:31: note: suggested alternative: In file included from Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++/utility:70:0, from Z:/src/qt5/qtbase/src/corelib/global/qcompilerdetection.h:939, from ../include/QtCore/qcompilerdetection.h:1, from Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:80, from ../include/QtCore/qglobal.h:1, from Z:/src/qt5/qtbase/qmake/library/qmake_global.h:32, from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:32, from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36, from Z:/src/qt5/qtbase/qmake/project.h:32, from Z:/src/qt5/qtbase/qmake/project.cpp:29: Z:/foss/gcc/64bit/gcc-posix-5.3.0/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note: 'std::pair' struct pair ^ In file included from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:33:0, from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36, from Z:/src/qt5/qtbase/qmake/project.h:32, from Z:/src/qt5/qtbase/qmake/project.cpp:29: Z:/src/qt5/qtbase/qmake/library/proitems.h: At global scope: Z:/src/qt5/qtbase/qmake/library/proitems.h:367:35: error: expected ',' or '...' before '&&' token ProFunctionDef(ProFunctionDef &&other) Q_DECL_NOTHROW ^ Z:/src/qt5/qtbase/qmake/library/proitems.h:367:42: error: invalid constructor; you probably meant 'ProFunctionDef (const ProFunctionDef&)' ProFunctionDef(ProFunctionDef &&other) Q_DECL_NOTHROW ^ Z:/src/qt5/qtbase/qmake/library/proitems.h:380:46: error: expected ',' or '...' before '&&' token ProFunctionDef &operator=(ProFunctionDef &&other) Q_DECL_NOTHROW ^ Z:/src/qt5/qtbase/qmake/library/proitems.h: In member function 'ProFunctionDef& ProFunctionDef::operator=(ProFunctionDef)': Z:/src/qt5/qtbase/qmake/library/proitems.h:382:30: error: 'move' is not a member of 'std' ProFunctionDef moved(std::move(other)); ^ Z:/src/qt5/qtbase/qmake/library/proitems.h:382:40: error: 'other' was not declared in this scope ProFunctionDef moved(std::move(other)); ^ In file included from Z:/src/qt5/qtbase/qmake/project.cpp:31:0: Z:/src/qt5/qtbase/qmake/option.h: In static member function 'static bool Option::hasFileExtension(const QString&, const QStringList&)': Z:/src/qt5/qtbase/qmake/option.h:156:35: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const QString &ext : extensions) ^ Z:/src/qt5/qtbase/qmake/project.cpp: In function 'ProStringList prepareBuiltinArgs(const QList<ProStringList>&)': Z:/src/qt5/qtbase/qmake/project.cpp:76:37: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const ProStringList &arg : args) ^ Z:/src/qt5/qtbase/qmake/project.cpp: In member function 'void QMakeProject::dump() const': Z:/src/qt5/qtbase/qmake/project.cpp:149:39: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const ProString &v : it.value()) ^ Z:/src/qt5/qtbase/qmake/project.cpp:155:29: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11 for (const QString &v : qAsConst(out)) ^ Z:/src/qt5/qtbase/qmake/project.cpp:155:41: error: call of overloaded 'qAsConst(QStringList&)' is ambiguous for (const QString &v : qAsConst(out)) ^ In file included from ../include/QtCore/qglobal.h:1:0, from Z:/src/qt5/qtbase/qmake/library/qmake_global.h:32, from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:32, from Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36, from Z:/src/qt5/qtbase/qmake/project.h:32, from Z:/src/qt5/qtbase/qmake/project.cpp:29: Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:1120:58: note: candidate: typename QtPrivate::QAddConst<T>::Type& qAsConst(T&) [with T = QStringList; typename QtPrivate::QAddConst<T>::Type = const QStringList] Q_DECL_CONSTEXPR typename QtPrivate::QAddConst<T>::Type &qAsConst(T &t) Q_DECL_NOTHROW { return t; } ^ Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:1123:6: note: candidate: void qAsConst(T) [with T = QStringList] void qAsConst(const T &&) Q_DECL_EQ_DELETE; ^ Makefile:188: recipe for target `project.o' failed make.exe: *** [project.o] Error 1 > > > In file included from ../include/QtCore/qglobal.h:1:0, > > from Z:/src/qt5/qtbase/qmake/library/qmake_global.h:32, > > from Z:/src/qt5/qtbase/qmake/library/qmakeparser.h:32, > > from > Z:/src/qt5/qtbase/qmake/library/qmakeevaluator.h:36, > > from Z:/src/qt5/qtbase/qmake/project.h:32, > > from Z:/src/qt5/qtbase/qmake/project.cpp:29: > > Z:/src/qt5/qtbase/src/corelib/global/qglobal.h:1123:23: error: expected > ',' > > or '...' before '&&' token > > void qAsConst(const T &&) Q_DECL_EQ_DELETE; > > ^ > > Looks like it's not compiling as C++11. > Adding c++11 does not make any difference. :( > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Development mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
