Git Product home page Git Product logo

Comments (3)

jmirabel avatar jmirabel commented on September 2, 2024 1

sudo apt install qtbase5-private-dev should solve your issue.

from pythonqt.

danxibao avatar danxibao commented on September 2, 2024

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.

danxibao avatar danxibao commented on September 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.