-
Notifications
You must be signed in to change notification settings - Fork 83
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
fatal error: private/qmetaobjectbuilder_p.h: No such file or directory for ubuntu 16.04 #70
Comments
|
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? |
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$ sudo apt install qtbase5-private-dev |
xxx@xxx:/home/xxx/Documents/project$ cd PythonQt-build/
xxx@xxx:/home/xxx/Documents/project/PythonQt-build$ cmake /home/xxx/Documents/gitlab/LidarViewX64/build/install/lib/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:~/Documents/project/PythonQt-build$ make
[ 2%] Generating generated_cpp_56/com_trolltech_qt_gui_builtin/moc_com_trolltech_qt_gui_builtin0.cpp
[ 5%] Generating src/moc_PythonQt.cpp
[ 7%] Generating src/moc_PythonQtStdDecorators.cpp
[ 10%] Generating generated_cpp_56/com_trolltech_qt_core_builtin/moc_com_trolltech_qt_core_builtin0.cpp
Scanning dependencies of target PythonQt
[ 13%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtBoolResult.cpp.o
[ 15%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtClassInfo.cpp.o
[ 18%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtClassWrapper.cpp.o
[ 21%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtConversion.cpp.o
[ 23%] 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
The text was updated successfully, but these errors were encountered: