Questions tagged [pyqt]

An ambiguous tag about both pyqt4 and pyqt5 wrappers in python or python3 around the respective Qt libraries.`

Filter by
Sorted by
Tagged with
1 vote
0 answers
38 views

Wayland : Window positionning fails with PyQt and Libroffice ? How to fix this issue?

I use LibreOffice and PyQt for small applications. In Libreoffice .setPosSize is inoperative `With oForm.CurrentController.Frame .ContainerWindow.isMaximized = False .ContainerWindow....
pedrito's user avatar
  • 11
1 vote
1 answer
1k views

Issue with installing PyQt6 on Ubuntu 22.04

I need to install PyQt6 on a fresh install of Ubuntu 22.04. I use python 3.11.5 via Pyenv and the Poetry package manager. There are no errors during installing or importing, but calling the ...
9sven6's user avatar
  • 111
0 votes
0 answers
799 views

How to run Qt Designer in Ubuntu 22.04?

I am teaching myself PyQt6 using this tutorial. I get the examples running and I want to use Qt Designer. I can install it but in all cases (mentioned below) Qt designer starts and hangs. I have to ...
Arnold's user avatar
  • 215
3 votes
1 answer
28k views

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. in ubuntu 20.04

How should I solve this problem in Ubuntu 20.04? Invalid MIT-MAGIC-COOKIE-1 keyqt.qpa.xcb: could not connect to display :0 qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "...
Mona Jalal's user avatar
  • 4,535
5 votes
1 answer
34k views

Pyqt4 on Ubuntu 20.04 install

I use a chess application called "Lucaschess" and it needs PyQt4 module to work. Is it possible to install Pyqt4 on Ubuntu 20.04? I understand that Ubuntu no longer supports this package but ...
C.S.'s user avatar
  • 329
20 votes
3 answers
24k views

hplip requires pyqt4

I have upgraded my system from 19.10 to 20.04, everything is working correctly except I cannot load hp-systray or any other parts of the program. The problem I have is pyqt4 available in 20.04 I ...
Richard W. Seitz's user avatar
0 votes
1 answer
591 views

How to give a specific pyqt program read/write permission?

I'm using a program called gnuradio-companion. If I start it without root privileges, I can't save anything because I don't have read/write privileges. It gives: /usr/lib/python2.7/dist-packages/...
nickhansenrf's user avatar
1 vote
2 answers
3k views

Ubuntu 18.10 does not start with Nvidia drivers

I upgraded to Ubuntu 18.10 from Ubuntu 18.04. I have two problems but I think they're related. I have a NVIDIA graphics card. Problem 1: if I have the original NVIDIA graphics card drivers, then my ...
Shihab Khan's user avatar
4 votes
3 answers
2k views

How to install LDOCE5 Viewer on Ubuntu

I have used LDOCE5 Viewer for a few years now. It is a great software (i.e., viewer) for using Longman Dictionary of Contemporary English. On Ubuntu 14.04 and 16.04 I could install this software by ...
rasul's user avatar
  • 405
1 vote
0 answers
391 views

Some Qt apps (dropbox, megasync) stopped working

Just recently some of the apps I had to backup files stopped working and I do not know why. For example, at trying to start nautilus-dropbox or megasync I get errors related to the Qt library. See the ...
b-fg's user avatar
  • 195
1 vote
1 answer
3k views

pyQt4 import error after updating it to 18.04 LTS

I am not able to import pyqt4 after upgrading my Ubuntu from 16.04 to 18.04. I tried re-installing pyqt4 and python. I also updated source.list but nothing worked for me. It was working all good ...
Groot's user avatar
  • 11
4 votes
1 answer
21k views

Problems running PyQt4 on Ubuntu 18.04

I programmed a small GUI in python and PyQt4 on Ubuntu 14. When I try to run the same script on Ubuntu 18.04, I get an import error: ModuleNotFoundError: No module named 'PyQt4' I have installed ...
Mattu475's user avatar
  • 251
0 votes
2 answers
5k views

Start using PyQt with Qt Creator

I would like to use PyQt with some Qt Creator. How many and which packages I have to install? $ sudo apt-get install qtcreator If I install just qtcreator, do I have to install also PyQt? $ sudo ...
J. Doe's user avatar
  • 1
0 votes
2 answers
10k views

How to install PyQt5

I'm installing ROS from source and get an error about PyQt5. [ 88%] Running SIP generator for qt_gui_cpp_sip Python bindings... sip: Deprecation warning: qt_gui_cpp.sip:1: %Module version number ...
Yves's user avatar
  • 1,278
1 vote
0 answers
81 views

Problem with font rendering on certain applications [duplicate]

Installed Ubuntu 14.04 LTS with Xfce 4.12 on my Thinkpad T440P a few weeks back. This was my first real contact with Linux systems. My problem is that the font used in the GUI of some of the ...
Joose Lindroos's user avatar
0 votes
1 answer
423 views

Unable to run TortoiseHg, broken libraries and missing dependencies

Im having a hard time running TortoiseHg (GUI for mercurial). The PPA is seriously outdated and there is no self contained AppImage or a SnapCraft image. I have previously asked this question in a ...
Eddie's user avatar
  • 121
6 votes
1 answer
5k views

PyQT Creator Qt designer: No such file or directory

There is a bash command that comes with installing PyQT Creator called designer that will run a tool called Qt Designer, found under the Qt Creator package. It helps you create GUIs - pretty cool ...
John Lexus's user avatar
11 votes
2 answers
9k views

native FAF on ubuntu (QtWebKit on ubuntu 17.04+)

I'm trying to run FAF (natively) in conjunction with FA (through wine) (due to the views this post receives and to how much the methods have updated I've decided to update this question for it to ...
tatsu's user avatar
  • 3,097
1 vote
0 answers
693 views

How do I set the default qt to 5.0 or later?

I installed the latest version of qt in order to install eric6. Another dependency is pyqt. When I run python configure.py I get the following error: qmake: could not exec '/usr/lib/i386-linux-gnu/...
Sage Ambroski's user avatar
1 vote
0 answers
219 views

How can a PyQt program be run on Ubuntu for phones?

I have a small PyQt program that I want to install on an Ubuntu phone. It is a simple toggle button GUI to set the phone into staged or windowed modes. How can this be done? #!/usr/bin/python3 # -*- ...
d3pd's user avatar
  • 3,661
4 votes
1 answer
5k views

Python 3 cannot import third party packages

I have Python version 3.5.2 and I have pip3, so I did sudo pip3 install pyqt5 That got installed in /usr/local/lib/python3.5/dist-packages However when I enter my python 3 interpreter and type ...
Shadowfax's user avatar
  • 201
6 votes
1 answer
15k views

ImportError: No module named 'PyQt4.QtWebKit'

I upgraded Ubuntu from 16.04 to 16.10, and python3 code that was previously working, does not work anymore, i.e.: $ python3 Python 3.5.2+ (default, Sep 22 2016, 12:18:14) [GCC 6.2.0 20160927] on ...
vedar's user avatar
  • 61
1 vote
1 answer
1k views

Handling file open (mime type) with Python [closed]

I created a file mymime.xml <?xml version='1.0' encoding='utf-8'?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="text/myapp"> ...
eri0o's user avatar
  • 756
15 votes
4 answers
91k views

How to install and run qt-designer for python

I'm new to ubuntu, I entered the following commands sudo apt-get install python-pyqt and sudo apt-get install qt-designer. Both the commands executed successfuly but I'm not able to figure out how to ...
Satwik's user avatar
  • 349
0 votes
1 answer
232 views

QtWidget couldnt be configured for installation after running configure.py of PyQt5.5.1 source

I am triyng to install PyQt5 on xubuntu 14.04 but after the procedure completes successfully there is no QWidgets.so file in directory "/usr/lib/python3/dist-packages/PyQt5/" as well as other Qt*.so ...
TMSFLMN's user avatar
-2 votes
2 answers
361 views

help installing PyQt5. recieving error : 'DocumentTooLarge' is not a member of 'QJsonParseError'

hi im quite new but have managed to install sip v4.16.9 (precise)cloud12321@localhost:~/Downloads/PyQt-gpl-5/PyQt-gpl-5.5$ sip -V 4.16.9 Now the configure.py went fine. the problem i have is that ...
cloud12321's user avatar
13 votes
4 answers
50k views

How to install PyQt for Python 3 in Ubuntu 14.10?

I found some tutorials online for earlier versions of Ubuntu but they didn't seem to work on Ubuntu 14.10; either that or I was doing it the wrong way. I want to use Qt Designer to design a GUI, use ...
user avatar
0 votes
1 answer
361 views

PyQt4, can't open Designer

When i try to open from the console using "designer" it says: designer: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/designer': No such file or directory I don't know how to fix it. Help please ...
Mrat's user avatar
  • 11
0 votes
1 answer
215 views

Debugging a pyqt5 Oxide(html) App

Based on this: Debugging HTML5 With Ubuntu SDK For a PC pyqt5 qtwebkit app I can use the web inspector with chromium following theese steps: First run in a terminal: export ...
J.Serra's user avatar
  • 571
3 votes
1 answer
676 views

Ubuntu SDK: How can I use PyQt for developing Ubuntu Touch apps?

I've heard that it's possible, can you give me some pointers on how to do that?
lumenwrites's user avatar
4 votes
1 answer
1k views

python GUI frameworks that support touch devices

Hello everyone I want to know what is the best GUI framework for python that supports touch I've been searching couple of hours and this are results which I found: PyQt5 I heard for Qt and I know it ...
harisk92's user avatar
  • 193
1 vote
1 answer
695 views

Problem with QtWebkit and QML in PyQt5 App Ubuntu for Devices (Ubuntu Touch)

I'm having problems with qtwebkit in ubuntu for devices (Nexus 10) when using pyqt5, the webview element doesn't show, and the application closes. But if I test the same .qml file with qmlscene it ...
J.Serra's user avatar
  • 571
0 votes
2 answers
1k views

How to Integrate of Python 2.7.4 in Qt 5.0

I have Python 2.7.4 installed,Qt 5.0 installed,PyQt 4.10.4.tar.gz and sip 4.15.5.tar.gz. How can I integrate Python with my Qt?
Sree's user avatar
  • 11
1 vote
0 answers
438 views

Ubuntu 13.10 application using pyqt5

Is it possible to make Ubuntu application which will be fully functional in Ubuntu mobile using pyQT5. However I know that it s possible to make Ubuntu application using QT; what I'm confused about ...
Harpreet Singh Sahota's user avatar
1 vote
2 answers
18k views

Python.h: No such file or directory #include <Python.h>

When trying to compile pyqt i have an error i have installed all the prerequistes but its still showing the same problem please find an answer for this
A.r. Naresh's user avatar
1 vote
2 answers
245 views

How to get translations on Launchpad for a custom program

I wrote a program and uploaded it to a ppa. This program uses translations which I manually create using pylupdate4 Translate.pro, then Qt-Linguist, then lrelease Translate.proon my home PC. So the ...
user2366975's user avatar
1 vote
1 answer
345 views

PyQt App deployment

I'm developing four bioinformatic software's with PyQt. I mostly target Windows OS users but since the programs run without any problems on Ubuntu, I thought to upload them to the USC (I also got ...
snowflake's user avatar
  • 279
3 votes
0 answers
111 views

Application should skip the unity launcher [duplicate]

How can I skip the unity launcher for a (Py)Qt-app? As you see when running the code below, there is an icon in the launcher. I don't need that icon because I manage the windows of that application ...
user2366975's user avatar
1 vote
0 answers
28 views

Don't show a running application in the launcher (PyQt4) [duplicate]

I write an application that has an icon in the upper right corner in the notification area, so there is no need to put its icon in the launcher. But it is automatically put there. How do I disable ...
user2366975's user avatar
0 votes
1 answer
2k views

how to play sound in Ubuntu with PyQt4? [closed]

It's a big mess. I chose to write my app with Qt (PyQt4) because it should work with Windows and Linux. First, in Windows I used QSound, it worked, but not under Ubuntu. So I switched to QtMultimedia, ...
user2366975's user avatar
3 votes
1 answer
16k views

How to install SIP+PyQt with apt-get + pip + virtualenv?

[I originally posted this question, under a different title, in StackOverflow (here), but later I realized that my problem is very specific to apt-get, hence I am re-posting it here. Sorry for the ...
kjo's user avatar
  • 1,187
0 votes
1 answer
417 views

How to minimize PyBitmessage to the system tray?

I recently installed PyBitMessage, and now I can't get it to minimize to the system tray. If I click the red X, it just exits (unlike Transmission, which can be configured to "survive" being closed - ...
JamesTheAwesomeDude's user avatar
1 vote
0 answers
310 views

How to create an Ubuntu app using python and Qt4 designer

I recently started developing Ubuntu desktop apps using Quickly. But then I tried out the Qt4 designer and I feel more comfortable with it than Glade designer that Quickly uses. I liked developing ...
Akas Antony's user avatar
1 vote
1 answer
3k views

How to install PyQt4 for Python2.6?

I am currently stuck using both Python2.6 and Python2.7 on Lubuntu 12.10. 2.6 is required for a piece of software. In attempting to write a plug-in for this software (Opticks), I need to be able to ...
Jzl5325's user avatar
  • 121
21 votes
4 answers
8k views

Can I develop ubuntu for phones apps in Python? [duplicate]

Does anyone know if we can develop apps for ubuntu for phones in Python ? PyQT / PySide would seem to support also QML. But can we use them on the phones ?
Python Alfred's user avatar
4 votes
1 answer
2k views

Programming with DBus using PyQt

I'm trying to write a desktop environment that supports the global menu Before I get started with my main task In PyQt I'm trying to get the dbus code to work with QtDBus as a proof of concept. Here's ...
Christopher's user avatar
60 votes
1 answer
42k views

Should I use PyQt or PySide for a new Qt project?

Recently I've been involved in conversations about creating a Quickly template for a Qt and QtQuick Ubuntu app. The idea is to make it as easy to develop Qt apps from concept to package as it is right ...
David Planella's user avatar
0 votes
2 answers
964 views

Compiling Pyqt4 program

I am trying to package a program I wrote (using Pyqt4) into a single executable for linux. I tried using Pyinstaller however it has problems with importing Gio (for settings) from gi.repository ...
user654628's user avatar
2 votes
2 answers
3k views

How to configure PyQt4 for Python 3 eclipse in Ubuntu?

I installed PyQt4 with synaptic. I'm using Python3 so I need to configure the path for PyQt4 in eclipse, but it seems synaptic only installed PyQt4 for python 2 since I only found relative files and ...
Derrick Zhang's user avatar
4 votes
1 answer
1k views

How to create appmenu in using python3 and PyQt?

I am looking for a way to create appmenu indicator using python3.2 and pyqt4. Please help me.
harish's user avatar
  • 43