Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build wamp.qbs #1

Open
pincopallopino opened this issue Aug 4, 2016 · 5 comments
Open

cannot build wamp.qbs #1

pincopallopino opened this issue Aug 4, 2016 · 5 comments

Comments

@pincopallopino
Copy link

Hi, i'm trying to build your project with Qt5.5.0 on Linux 32bit but i get the following errors:

/home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/39301be37a6f50b4/moc_helperfunctions.cpp.o: nella funzione "QFlow::HelperFunctions::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)": /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/GeneratedFiles/moc_helperfunctions.cpp:165: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/GeneratedFiles/moc_helperfunctions.cpp:165: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/coreplugin.cpp.o: nella funzione "QFlow::CorePlugin::registerTypes(char const*)": /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/coreplugin.cpp:61: riferimento non definito a "QFlow::FileInfo::absoluteFilePath() const" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/coreplugin.cpp.o: nella funzione "int qmlRegisterUncreatableType<QFlow::FileInfo>(char const*, int, int, char const*, QString const&)": /home/test/Qt/5.5.0/5.5/gcc/include/QtQml/qqml.h:134: riferimento non definito a "QFlow::FileInfo::staticMetaObject" /home/test/Qt/5.5.0/5.5/gcc/include/QtQml/qqml.h:157: riferimento non definito a "QFlow::FileInfo::staticMetaObject" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/coreplugin.cpp.o: nella funzione "QMetaTypeIdQObject<QFlow::FileInfo, 512>::qt_metatype_id()": /home/test/Qt/5.5.0/5.5/gcc/include/QtCore/qmetatype.h:1784: riferimento non definito a "QFlow::FileInfo::staticMetaObject" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/coreplugin.cpp.o: nella funzione "QtMetaTypePrivate::QMetaTypeFunctionHelper<QFlow::FileInfo, true>::Destruct(void*)": /home/test/Qt/5.5.0/5.5/gcc/include/QtCore/qmetatype.h:749: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/coreplugin.cpp.o: nella funzione "QtMetaTypePrivate::QMetaTypeFunctionHelper<QFlow::FileInfo, true>::Construct(void*, void const*)": /home/test/Qt/5.5.0/5.5/gcc/include/QtCore/qmetatype.h:756: riferimento non definito a "QFlow::FileInfo::FileInfo()" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/coreplugin.cpp.o: nella funzione "QtPrivate::MetaObjectForType<QFlow::FileInfo, void>::value()": /home/test/Qt/5.5.0/5.5/gcc/include/QtCore/qmetatype.h:1409: riferimento non definito a "QFlow::FileInfo::staticMetaObject" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/helperfunctions.cpp.o: nella funzione "QFlow::HelperFunctions::getFileList(QString, QString)": /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:80: riferimento non definito a "QFlow::FileInfo::FileInfo(QFileInfo)" /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:80: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:80: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/helperfunctions.cpp.o: nella funzione "QFlow::HelperFunctions::getFileListRecursive(QString, QString)": /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:92: riferimento non definito a "QFlow::FileInfo::FileInfo(QFileInfo)" /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:94: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:94: riferimento non definito a "QFlow::FileInfo::~FileInfo()" /home/test/wamp/build/qtc_Qt_5_5_0_14f75cac-debug/core.qtc-Qt-5-5-0-14f75cac.635a302d/.obj/3a52ce780950d4d9/helperfunctions.cpp.o: nella funzione "QFlow::HelperFunctions::getFileInfo(QString)": /media/sf_Virtual_Machine_Xubuntu-14.04_32bit/wamp/wamp/core/src/helperfunctions.cpp:100: riferimento non definito a "QFlow::FileInfo::FileInfo(QString)" collect2: error: ld returned 1 exit status

What i'm doing wrong? I need to install some dependencies?

Thanks in advance

@mfojtak
Copy link
Contributor

mfojtak commented Aug 5, 2016

Hi,

The qbs build is obsolete now.
I have swithed to cmake.

Just open CMakeList.txt in QtCreator.

Cheers.
Michal

@pincopallopino
Copy link
Author

pincopallopino commented Apr 4, 2017 via email

@afendin
Copy link

afendin commented Apr 4, 2017

thank you man, i had another troubles with this library, and 5 days googling solutions about implementing wamp in Qt made me write with my hands and handle this all with QNetwrokQuery and things like that xD

@mfojtak
Copy link
Contributor

mfojtak commented Apr 10, 2017

you have to clone all dependecies. Plese, see the readme

git clone [email protected]:qflow/wamp.git
cd wamp
git submodule update --init --remote
git submodule foreach git pull origin master
git submodule foreach git checkout master

@afendin
Copy link

afendin commented Apr 10, 2017

did all those things and could build with qt, but when it came to use it in my application didn't know how to include it in my project. Did several ways and didn't get any result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants