r***@logikalsolutions.com
2018-11-26 18:32:11 UTC
All,
I went to the wiki here: https://wiki.qt.io/Building_Qt_Creator_from_Git
and creator will not build on 14.04 though 5.9.7 does. Ubuntu 14.04 is
still LTS until 04/2019, has QtCreator already left it behind?
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src$
mkdir qt-creator-build
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src$ qmake -v
QMake version 3.1
Using Qt version 5.9.7 in /home/developer/Qt-5.9.7/lib
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src$ cd
qt-creator-build
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$ qmake
../qt-creator/qtcreator.pro
Info: creating stash file
/home/developer/qtcreator-src/qt-creator-build/.qmake.stash
Info: creating cache file
/home/developer/qtcreator-src/qt-creator-build/.qmake.cache
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$
ls
Makefile qdoc_wrapper.sh
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$
make
cd src/ && ( test -e Makefile || /home/developer/Qt-5.9.7/bin/qmake -o
Makefile /home/developer/qtcreator-src/qt-creator/src/src.pro ) &&
make -f Makefile
make[1]: Entering directory
`/home/developer/qtcreator-src/qt-creator-build/src'
cd shared/qbs/src/lib/corelib/ && ( test -e Makefile ||
/home/developer/Qt-5.9.7/bin/qmake -o Makefile
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/corelib.pro ) && make -f
Makefile
Project MESSAGE: This project is using private headers and will
therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt
modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt
internals. You have been warned!
make[2]: Entering directory
`/home/developer/qtcreator-src/qt-creator-build/src/shared/qbs/src/lib/corelib'
g++ -c -pipe -O2 -std=gnu++1y -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQBS_LIBRARY
-DQT_NO_CAST_FROM_ASCII -DQT_NO_PROCESS_COMBINED_ARGUMENT_START
-DQBS_VERSION=\"1.12.2\"
-DQBS_RELATIVE_LIBEXEC_PATH=\"../libexec/qtcreator\"
-DQBS_ENABLE_PROJECT_FILE_UPDATES -DQT_NO_DEBUG -DQT_SCRIPT_LIB
-DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib -I.
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib
-I/home/developer/Qt-5.9.7/include
-I/home/developer/Qt-5.9.7/include/QtScript
-I/home/developer/Qt-5.9.7/include/QtCore/5.9.7
-I/home/developer/Qt-5.9.7/include/QtCore/5.9.7/QtCore
-I/home/developer/Qt-5.9.7/include/QtNetwork
-I/home/developer/Qt-5.9.7/include/QtGui
-I/home/developer/Qt-5.9.7/include/QtXml
-I/home/developer/Qt-5.9.7/include/QtCore -I. -isystem
/usr/include/libdrm -I/home/developer/Qt-5.9.7/mkspecs/linux-g++ -o
internaljobs.o
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp
In file included from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/filetime.h:43:0,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/filedependency.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/artifact.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphloader.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:45:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:250:20: error: ‘enable_if_t’ is not a member of
‘std’
struct PPHelper<T, std::enable_if_t<std::is_member_function_pointer<
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:250:20: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:251:80: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
decltype(&T::template
completeSerializationOp<PersistentPool::Load>)>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:251:80: error: expected a type, got ‘(<expression error> < std::is_member_function_pointer<decltype (& T::
completeSerializationOp<Load>)>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:251:85: error: expected unqualified-id before ‘>’
token
decltype(&T::template
completeSerializationOp<PersistentPool::Load>)>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:41: error: ‘enable_if_t’ is not a member of
‘std’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_integral<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:41: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:79: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_integral<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:79: error: expected a type, got ‘(<expression error> <
std::is_integral<_Tp>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:84: error: expected unqualified-id before ‘>’
token
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_integral<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:41: error: ‘enable_if_t’ is not a member of
‘std’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_enum<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:41: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:75: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_enum<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:75: error: expected a type, got ‘(<expression error> <
std::is_enum<_Tp>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:80: error: expected unqualified-id before ‘>’
token
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_enum<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In static member function ‘static void qbs::Internal::PPHelper<std::shared_ptr<_Tp1> >::load(std::shared_ptr<_Tp1>&,
qbs::Internal::PersistentPool*)’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:31: error: ‘remove_const_t’ is not a member of
‘std’
value = pool->idLoadS<std::remove_const_t<T>>();
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:31: error: ‘remove_const_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:23: error: parse error in template argument
list
value = pool->idLoadS<std::remove_const_t<T>>();
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:55: error: expected primary-expression before ‘)’
token
value = pool->idLoadS<std::remove_const_t<T>>();
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In static member function ‘static void qbs::Internal::PPHelper<std::unique_ptr<T> >::load(std::unique_ptr<T>&,
qbs::Internal::PersistentPool*)’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:32: error: ‘remove_const_t’ is not a member of
‘std’
ptr.reset(pool->idLoad<std::remove_const_t<T>>());
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:32: error: ‘remove_const_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:25: error: parse error in template argument
list
ptr.reset(pool->idLoad<std::remove_const_t<T>>());
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:56: error: expected primary-expression before ‘)’
token
ptr.reset(pool->idLoad<std::remove_const_t<T>>());
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: At global
scope:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:41: error: ‘enable_if_t’ is not a member of
‘std’
template<typename T> struct PPHelper<T,
std::enable_if_t<IsSimpleContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:41: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:80: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
template<typename T> struct PPHelper<T,
std::enable_if_t<IsSimpleContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:80: error: expected a type, got ‘(<expression error> <
qbs::Internal::IsSimpleContainer<T>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:85: error: expected unqualified-id before ‘>’
token
template<typename T> struct PPHelper<T,
std::enable_if_t<IsSimpleContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:20: error: ‘enable_if_t’ is not a member of
‘std’
struct PPHelper<T, std::enable_if_t<IsKeyValueContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:20: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:61: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
struct PPHelper<T, std::enable_if_t<IsKeyValueContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:61: error: expected a type, got ‘(<expression error> <
qbs::Internal::IsKeyValueContainer<T>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:66: error: expected unqualified-id before ‘>’
token
struct PPHelper<T, std::enable_if_t<IsKeyValueContainer<T>::value>>
^
In file included from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/nodeset.h:43:0,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphnode.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/artifact.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphloader.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:45:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h: In static member function ‘static qbs::Internal::Set<T> qbs::Internal::Set<T>::filtered(const
qbs::Internal::Set<U>&)’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h:356:28: error: ‘remove_pointer_t’ is not a member of
‘std’
if (hasDynamicType<std::remove_pointer_t<T>>(u))
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h:356:28: error: ‘remove_pointer_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h:356:13: error: parse error in template argument
list
if (hasDynamicType<std::remove_pointer_t<T>>(u))
^
In file included from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/filetime.h:43:0,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/filedependency.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/artifact.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphloader.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:45:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In instantiation of ‘static void qbs::Internal::PPHelper<T, Enable>::store(const T&, qbs::Internal::PersistentPool*) [with T = int; Enable =
void]’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:84:39: required from ‘void qbs::Internal::PersistentPool::store(const T&, const Types& ...) [with T = int; Types =
{}]’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:346:32: required from
here
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:239:9: error: request for member ‘store’ in ‘(int&)(& object)’, which is of non-class type
‘int’
const_cast<T &>(object).store(*pool);
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In instantiation of ‘static void qbs::Internal::PPHelper<T, Enable>::load(T&, qbs::Internal::PersistentPool*) [with T = int; Enable =
void]’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:95:36: required from ‘T qbs::Internal::PersistentPool::load() [with T =
int]’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:354:43: required from
here
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:243:9: error: request for member ‘load’ in ‘object’, which is of non-class type
‘int’
object.load(*pool);
^
make[2]: *** [internaljobs.o] Error 1
make[2]: Leaving directory
`/home/developer/qtcreator-src/qt-creator-build/src/shared/qbs/src/lib/corelib'
make[1]: *** [sub-shared-qbs-src-lib-corelib-make_first-ordered] Error 2
make[1]: Leaving directory
`/home/developer/qtcreator-src/qt-creator-build/src'
make: *** [sub-src-make_first-ordered] Error 2
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
I went to the wiki here: https://wiki.qt.io/Building_Qt_Creator_from_Git
and creator will not build on 14.04 though 5.9.7 does. Ubuntu 14.04 is
still LTS until 04/2019, has QtCreator already left it behind?
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src$
mkdir qt-creator-build
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src$ qmake -v
QMake version 3.1
Using Qt version 5.9.7 in /home/developer/Qt-5.9.7/lib
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src$ cd
qt-creator-build
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$ qmake
../qt-creator/qtcreator.pro
Info: creating stash file
/home/developer/qtcreator-src/qt-creator-build/.qmake.stash
Info: creating cache file
/home/developer/qtcreator-src/qt-creator-build/.qmake.cache
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$
ls
Makefile qdoc_wrapper.sh
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$
make
cd src/ && ( test -e Makefile || /home/developer/Qt-5.9.7/bin/qmake -o
Makefile /home/developer/qtcreator-src/qt-creator/src/src.pro ) &&
make -f Makefile
make[1]: Entering directory
`/home/developer/qtcreator-src/qt-creator-build/src'
cd shared/qbs/src/lib/corelib/ && ( test -e Makefile ||
/home/developer/Qt-5.9.7/bin/qmake -o Makefile
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/corelib.pro ) && make -f
Makefile
Project MESSAGE: This project is using private headers and will
therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt
modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt
internals. You have been warned!
make[2]: Entering directory
`/home/developer/qtcreator-src/qt-creator-build/src/shared/qbs/src/lib/corelib'
g++ -c -pipe -O2 -std=gnu++1y -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQBS_LIBRARY
-DQT_NO_CAST_FROM_ASCII -DQT_NO_PROCESS_COMBINED_ARGUMENT_START
-DQBS_VERSION=\"1.12.2\"
-DQBS_RELATIVE_LIBEXEC_PATH=\"../libexec/qtcreator\"
-DQBS_ENABLE_PROJECT_FILE_UPDATES -DQT_NO_DEBUG -DQT_SCRIPT_LIB
-DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib -I.
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib
-I/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib
-I/home/developer/Qt-5.9.7/include
-I/home/developer/Qt-5.9.7/include/QtScript
-I/home/developer/Qt-5.9.7/include/QtCore/5.9.7
-I/home/developer/Qt-5.9.7/include/QtCore/5.9.7/QtCore
-I/home/developer/Qt-5.9.7/include/QtNetwork
-I/home/developer/Qt-5.9.7/include/QtGui
-I/home/developer/Qt-5.9.7/include/QtXml
-I/home/developer/Qt-5.9.7/include/QtCore -I. -isystem
/usr/include/libdrm -I/home/developer/Qt-5.9.7/mkspecs/linux-g++ -o
internaljobs.o
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp
In file included from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/filetime.h:43:0,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/filedependency.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/artifact.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphloader.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:45:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:250:20: error: ‘enable_if_t’ is not a member of
‘std’
struct PPHelper<T, std::enable_if_t<std::is_member_function_pointer<
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:250:20: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:251:80: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
decltype(&T::template
completeSerializationOp<PersistentPool::Load>)>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:251:80: error: expected a type, got ‘(<expression error> < std::is_member_function_pointer<decltype (& T::
completeSerializationOp<Load>)>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:251:85: error: expected unqualified-id before ‘>’
token
decltype(&T::template
completeSerializationOp<PersistentPool::Load>)>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:41: error: ‘enable_if_t’ is not a member of
‘std’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_integral<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:41: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:79: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_integral<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:79: error: expected a type, got ‘(<expression error> <
std::is_integral<_Tp>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:263:84: error: expected unqualified-id before ‘>’
token
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_integral<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:41: error: ‘enable_if_t’ is not a member of
‘std’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_enum<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:41: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:75: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_enum<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:75: error: expected a type, got ‘(<expression error> <
std::is_enum<_Tp>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:280:80: error: expected unqualified-id before ‘>’
token
template<typename T> struct PPHelper<T,
std::enable_if_t<std::is_enum<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In static member function ‘static void qbs::Internal::PPHelper<std::shared_ptr<_Tp1> >::load(std::shared_ptr<_Tp1>&,
qbs::Internal::PersistentPool*)’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:31: error: ‘remove_const_t’ is not a member of
‘std’
value = pool->idLoadS<std::remove_const_t<T>>();
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:31: error: ‘remove_const_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:23: error: parse error in template argument
list
value = pool->idLoadS<std::remove_const_t<T>>();
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:301:55: error: expected primary-expression before ‘)’
token
value = pool->idLoadS<std::remove_const_t<T>>();
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In static member function ‘static void qbs::Internal::PPHelper<std::unique_ptr<T> >::load(std::unique_ptr<T>&,
qbs::Internal::PersistentPool*)’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:32: error: ‘remove_const_t’ is not a member of
‘std’
ptr.reset(pool->idLoad<std::remove_const_t<T>>());
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:32: error: ‘remove_const_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:25: error: parse error in template argument
list
ptr.reset(pool->idLoad<std::remove_const_t<T>>());
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:313:56: error: expected primary-expression before ‘)’
token
ptr.reset(pool->idLoad<std::remove_const_t<T>>());
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: At global
scope:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:41: error: ‘enable_if_t’ is not a member of
‘std’
template<typename T> struct PPHelper<T,
std::enable_if_t<IsSimpleContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:41: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:80: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
template<typename T> struct PPHelper<T,
std::enable_if_t<IsSimpleContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:80: error: expected a type, got ‘(<expression error> <
qbs::Internal::IsSimpleContainer<T>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:394:85: error: expected unqualified-id before ‘>’
token
template<typename T> struct PPHelper<T,
std::enable_if_t<IsSimpleContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:20: error: ‘enable_if_t’ is not a member of
‘std’
struct PPHelper<T, std::enable_if_t<IsKeyValueContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:20: error: ‘enable_if_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:61: error: type/value mismatch at argument 2 in template parameter list for ‘template<class T, class Enable> struct
qbs::Internal::PPHelper’
struct PPHelper<T, std::enable_if_t<IsKeyValueContainer<T>::value>>
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:61: error: expected a type, got ‘(<expression error> <
qbs::Internal::IsKeyValueContainer<T>::value)’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:417:66: error: expected unqualified-id before ‘>’
token
struct PPHelper<T, std::enable_if_t<IsKeyValueContainer<T>::value>>
^
In file included from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/nodeset.h:43:0,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphnode.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/artifact.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphloader.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:45:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h: In static member function ‘static qbs::Internal::Set<T> qbs::Internal::Set<T>::filtered(const
qbs::Internal::Set<U>&)’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h:356:28: error: ‘remove_pointer_t’ is not a member of
‘std’
if (hasDynamicType<std::remove_pointer_t<T>>(u))
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h:356:28: error: ‘remove_pointer_t’ is not a member of
‘std’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/set.h:356:13: error: parse error in template argument
list
if (hasDynamicType<std::remove_pointer_t<T>>(u))
^
In file included from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/filetime.h:43:0,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/filedependency.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/artifact.h:43,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/buildgraph/buildgraphloader.h:44,
from
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/api/internaljobs.cpp:45:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In instantiation of ‘static void qbs::Internal::PPHelper<T, Enable>::store(const T&, qbs::Internal::PersistentPool*) [with T = int; Enable =
void]’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:84:39: required from ‘void qbs::Internal::PersistentPool::store(const T&, const Types& ...) [with T = int; Types =
{}]’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:346:32: required from
here
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:239:9: error: request for member ‘store’ in ‘(int&)(& object)’, which is of non-class type
‘int’
const_cast<T &>(object).store(*pool);
^
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h: In instantiation of ‘static void qbs::Internal::PPHelper<T, Enable>::load(T&, qbs::Internal::PersistentPool*) [with T = int; Enable =
void]’:
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:95:36: required from ‘T qbs::Internal::PersistentPool::load() [with T =
int]’
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:354:43: required from
here
/home/developer/qtcreator-src/qt-creator/src/shared/qbs/src/lib/corelib/tools/persistence.h:243:9: error: request for member ‘load’ in ‘object’, which is of non-class type
‘int’
object.load(*pool);
^
make[2]: *** [internaljobs.o] Error 1
make[2]: Leaving directory
`/home/developer/qtcreator-src/qt-creator-build/src/shared/qbs/src/lib/corelib'
make[1]: *** [sub-shared-qbs-src-lib-corelib-make_first-ordered] Error 2
make[1]: Leaving directory
`/home/developer/qtcreator-src/qt-creator-build/src'
make: *** [sub-src-make_first-ordered] Error 2
***@developer-U14-04-64-bit-dev--VirtualBox:~/qtcreator-src/qt-creator-build$
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us