Skip to content
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

PyQT5 bindings fail with error - qtermwidget.sip:14:10: fatal error: qtermwidget.h: No such file or directory #557

Closed
nado218 opened this issue Aug 23, 2024 · 2 comments

Comments

@nado218
Copy link

nado218 commented Aug 23, 2024

Hi,
I'm new to pyQT and I'm trying to build python bindings for QtermWidget.
I could compile and install qtermwidget library but when i try to create a python wheel using sip-wheel --verbose, i get the below error.
What I'm I missing here.
My Qtermwidget is installed in installed to the default - /usr/local/

Below is the log.

cd QTermWidget/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /tmp/tmp0cyt8_wt/QTermWidget/QTermWidget.pro ) && make -f Makefile
make[1]: Entering directory '/tmp/tmp0cyt8_wt/QTermWidget'
g++ -c -pipe -O2 -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03080000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.10 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o sipQTermWidgetcmodule.o sipQTermWidgetcmodule.cpp
/home/ndokuri/Qualcomm/QT5/qtermwidget/pyqt/sip/qtermwidget.sip:14:10: fatal error: qtermwidget.h: No such file or directory
14 | #include <qtermwidget.h>
| ^~~~~~~~~~~~~~~
compilation terminated.

System Information
  • Distribution & Version: Ubuntu 22.04
  • Kernel: 6.5.0-44-generic
  • Qt Version: PyQt5
  • lxqt-build-tools Version: 0.13.0
  • Package version: 1.4.0

can qtermwidget be used with python on Ubuntu Linux. If yes, can you please suggest how to overcome this error during sip-wheel

@tsujan
Copy link
Member

tsujan commented Aug 23, 2024

Please close this and use Discussions for questions.

Old versions aren't supported by LXQt.

@nado218 nado218 closed this as completed Aug 23, 2024
@nado218
Copy link
Author

nado218 commented Aug 23, 2024

Hi Sujan
I see the issue with latest QT6 as well.
I have raised a separate ticket with all details.
#558

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants