Comments (3)
sudo apt install qtbase5-private-dev
should solve your issue.
from pythonqt.
I am using an independent package qt-everywhere-opensource-src-5.9.2.tar.xz rather than USE_SYSTEM, which installed successfully in this directory /home/xxx/Documents/gitlab/LidarViewX64/build/install/ on ubuntu 16.04. I think it has nothing to do with qtbase5-private-dev?
from pythonqt.
sudo apt install qtbase5-private-dev
should solve your issue.
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$ sudo apt install qtbase5-private-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
qtbase5-private-dev is already the newest version (5.5.1+dfsg-16ubuntu7).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$ cmake -DQt5_DIR:PATH=/usr/lib/x86_64-linux-gnu/cmake/Qt5 ../pythonqt
-- PythonQt: Required Qt components [Core;Widgets]
-- Configuring done
-- Generating done
-- Build files have been written to: /home/raokaiyuan/Documents/project/PythonQt-build
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$ make clean
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$ make
[ 2%] Generating generated_cpp_54/com_trolltech_qt_gui_builtin/moc_com_trolltech_qt_gui_builtin0.cpp
[ 5%] Generating src/moc_PythonQt.cpp
[ 7%] Generating src/moc_PythonQtSignalReceiver.cpp
[ 10%] Generating src/moc_PythonQtStdDecorators.cpp
[ 13%] Generating src/gui/moc_PythonQtScriptingConsole.cpp
[ 15%] Generating generated_cpp_54/com_trolltech_qt_core_builtin/moc_com_trolltech_qt_core_builtin0.cpp
Scanning dependencies of target PythonQt
[ 18%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtBoolResult.cpp.o
[ 21%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtClassInfo.cpp.o
[ 23%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtClassWrapper.cpp.o
[ 26%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtConversion.cpp.o
[ 28%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQt.cpp.o
/home/raokaiyuan/Documents/project/pythonqt/src/PythonQt.cpp:1991:42: fatal error: private/qmetaobjectbuilder_p.h: No such file or directory
compilation terminated.
CMakeFiles/PythonQt.dir/build.make:182: recipe for target 'CMakeFiles/PythonQt.dir/src/PythonQt.cpp.o' failed
make[2]: *** [CMakeFiles/PythonQt.dir/src/PythonQt.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/PythonQt.dir/all' failed
make[1]: *** [CMakeFiles/PythonQt.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$
from pythonqt.
Related Issues (20)
- Update CMake to handle extensions and install PythonQtScriptingConsole.h HOT 1
- Qt 5.6 support HOT 4
- QSound belongs to QtMultimedia not QtGui
- matplotlib.pyplot.ion() does not work very well HOT 3
- Use Qt_all extension HOT 6
- Problem with Paraview compling
- Update plan? HOT 3
- patched-8 missing Qt private includes HOT 1
- How to deal with multiple py files? HOT 1
- PythonQt_DEBUG=ON generates error, anyone know what I am doing wrong? Ubuntu 17.04 HOT 1
- qt4.8.6 with patched-7 HOT 2
- cross compile with mingw HOT 3
- fatal error: 'private/qmetaobjectbuilder_p.h' on Mac HOT 8
- Support for Python global interpreter lock HOT 2
- Crash if delegate subclass implements displayText HOT 6
- Cannot find external simbol: QBasicMutex::QBasicMutex(void) HOT 1
- Error with python 3.7 : Require native threads HOT 1
- How to build PythonQt with PythonQtConfig.cmake?
- State of cmake files HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pythonqt.