I am new to the forums and I was wondering if someone could help me out with the issues I am having.
I am trying to use the package, PythonQt here: https://mevislab.github.io/pythonqt/index.html
to embedded a python script into a C++ Qt front end.
I am having trouble building any of the examples sketches. I am running ubuntu 16.04 on vmware and I have QT 5 install and I am trying to use python2.7
I have tried two ways to compile:
cmd line, I run qmake && make
I run into an error that says:
g++ -c -m64 -pipe -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../src -I../../extensions/PythonQt_QtAll -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp
In file included from ../../src/PythonQt.h:46:0,
from main.cpp:42:
../../src/PythonQtUtils.h:48:22: fatal error: QByteArray: No such file or directory
compilation terminated.
Makefile:333: recipe for target 'main.o' failed
make: *** [main.o] Error 1
I also tried building through QtCreator, however the program lists these issues:
Hi All,
I am new to the forums and I was wondering if someone could help me out with the issues I am having.
I am trying to use the package, PythonQt here: https://mevislab.github.io/pythonqt/index.html
to embedded a python script into a C++ Qt front end.
I am having trouble building any of the examples sketches. I am running ubuntu 16.04 on vmware and I have QT 5 install and I am trying to use python2.7
I have tried two ways to compile:
cmd line, I run qmake && make
I run into an error that says:
I also tried building through QtCreator, however the program lists these issues:
If anyone could point me in the right direction, it would be greatly appriciated!!
Regards,
Noah