gcc - Compile error in Qt/C++ -
I am trying to compile an example from a library. I have QT installed but I think I have to link it and I do not know how.
This error is:
G ++ face_writing CPP-O test found in the file face_recognition.cpp: 29: 0: / usr / local / include / openbr /openbr_plugin.h:22:23: Fatal Error: QDataStream: No such file or directory # include & lt; QDataStream & gt; ^ Compilation ends
You can add a Qt application directly to g ++ because the app should go first through Qt.
If you want to create a QT application from a CMD-line, make sure that you define the appropriate .pro file with QT modules and other third party headers / libraries You want, they can use. For example:
QT + = core widgets source =
then .po > on the command line in the same directory. Strong> Perform the appropriate makefile to the file and ultimately execute create
to create the app.
Comments
Post a Comment