Skip to content

Instantly share code, notes, and snippets.

@rhaamo
Last active August 29, 2015 14:25
Show Gist options
  • Save rhaamo/9823b1e85a662b0b49de to your computer and use it in GitHub Desktop.
Save rhaamo/9823b1e85a662b0b49de to your computer and use it in GitHub Desktop.
23:04:38: Exécution des étapes pour le projet openjabnab...
23:04:38: Configuration inchangée, étape qmake sautée.
23:04:38: Débute : "/usr/bin/make"
cd lib/ && ( test -e Makefile || /Users/dashie/Qt/5.4/clang_64/bin/qmake /Users/dashie/dev/OpenJabNab_plugins/server/lib/lib.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -Werror -O2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../server/lib -I. -I../../server/lib -I../../server/main -I../../../../Qt/5.4/clang_64/lib/QtNetwork.framework/Versions/5/Headers -I../../../../Qt/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers -Itmp/moc -I../../../../Qt/5.4/clang_64/mkspecs/macx-clang -F/Users/dashie/Qt/5.4/clang_64/lib -o tmp/obj/httphandler.o ../../server/lib/httphandler.cpp
In file included from ../../server/lib/httphandler.cpp:3:
In file included from ../../server/lib/apimanager.h:9:
In file included from ../../../../Qt/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers/QVariant:1:
In file included from /Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qvariant.h:40:
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1330:41: error: cannot cast 'Ztamp' to its private base class 'QObject'
enum { Value = sizeof(checkType(static_cast<T*>(0))) == sizeof(yes_type) };
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1543:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<Ztamp *>' requested here
| (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1591:43: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<Ztamp *>' requested here
QMetaType::TypeFlags flags(QtPrivate::QMetaTypeTypeFlags<T>::Flags);
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1628:12: note: in instantiation of function template specialization 'qRegisterNormalizedMetaType<Ztamp *>' requested here
return qRegisterNormalizedMetaType<T>(normalizedTypeName, dummy, defined);
^
../../server/lib/ztamp.h:106:1: note: in instantiation of function template specialization 'qRegisterMetaType<Ztamp *>' requested here
Q_DECLARE_METATYPE(Ztamp*)
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1715:34: note: expanded from macro 'Q_DECLARE_METATYPE'
#define Q_DECLARE_METATYPE(TYPE) Q_DECLARE_METATYPE_IMPL(TYPE)
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1727:35: note: expanded from macro 'Q_DECLARE_METATYPE_IMPL'
const int newId = qRegisterMetaType< TYPE >(#TYPE, \
^
../../server/lib/ztamp.h:16:26: note: implicitly declared private here
class OJN_EXPORT Ztamp : QObject, public ApiHandler<Ztamp>
^~~~~~~
In file included from ../../server/lib/httphandler.cpp:3:
In file included from ../../server/lib/apimanager.h:9:
In file included from ../../../../Qt/5.4/clang_64/lib/QtCore.framework/Versions/5/Headers/QVariant:1:
In file included from /Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qvariant.h:40:
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1330:41: error: cannot cast 'Bunny' to its private base class 'QObject'
enum { Value = sizeof(checkType(static_cast<T*>(0))) == sizeof(yes_type) };
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1543:25: note: in instantiation of template class 'QtPrivate::IsPointerToTypeDerivedFromQObject<Bunny *>' requested here
| (IsPointerToTypeDerivedFromQObject<T>::Value ? QMetaType::PointerToQObject : 0)
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1591:43: note: in instantiation of template class 'QtPrivate::QMetaTypeTypeFlags<Bunny *>' requested here
QMetaType::TypeFlags flags(QtPrivate::QMetaTypeTypeFlags<T>::Flags);
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1628:12: note: in instantiation of function template specialization 'qRegisterNormalizedMetaType<Bunny *>' requested here
return qRegisterNormalizedMetaType<T>(normalizedTypeName, dummy, defined);
^
../../server/lib/bunny.h:212:1: note: in instantiation of function template specialization 'qRegisterMetaType<Bunny *>' requested here
Q_DECLARE_METATYPE(Bunny*)
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1715:34: note: expanded from macro 'Q_DECLARE_METATYPE'
#define Q_DECLARE_METATYPE(TYPE) Q_DECLARE_METATYPE_IMPL(TYPE)
^
/Users/dashie/Qt/5.4/clang_64/lib/QtCore.framework/Headers/qmetatype.h:1727:35: note: expanded from macro 'Q_DECLARE_METATYPE_IMPL'
const int newId = qRegisterMetaType< TYPE >(#TYPE, \
^
../../server/lib/bunny.h:16:26: note: implicitly declared private here
class OJN_EXPORT Bunny : QObject, public ApiHandler<Bunny>
^~~~~~~
2 errors generated.
make[1]: *** [tmp/obj/httphandler.o] Error 1
make: *** [sub-lib-make_first-ordered] Error 2
23:04:40: Le processus "/usr/bin/make" s'est terminé avec le code 2.
Erreur lors de la compilation/déploiement du projet openjabnab (kit : Desktop Qt 5.4.1 clang 64bit)
When executing step "Make"
23:04:40: Temps écoulé : 00:02.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment