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
0 votes
0 answers
28 views

Problem hiding the window on the desktop

How can I lock a window as a desktop so that the windows are not hidden by tapping the desktop with the mouse? Before tapping on the desktop: enter image description here After: enter image ...
user avatar
3 votes
1 answer
15k 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 "...
user avatar
  • 3,691
3 votes
1 answer
23k 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 ...
user avatar
  • 309
16 votes
3 answers
20k 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 ...
user avatar
0 votes
1 answer
428 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/...
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 ...
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 ...
user avatar
  • 375
1 vote
0 answers
372 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 ...
user avatar
  • 195
1 vote
1 answer
2k 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 ...
user avatar
  • 11
4 votes
1 answer
19k 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 ...
user avatar
  • 251
0 votes
2 answers
4k 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 ...
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 ...
user avatar
  • 1,168
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 ...
user avatar
0 votes
1 answer
399 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 ...
user avatar
  • 121
6 votes
1 answer
4k 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 ...
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 ...
user avatar
  • 2,744
1 vote
0 answers
535 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/...
user avatar
1 vote
0 answers
184 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 # -*- ...
user avatar
  • 3,511
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 ...
user avatar
  • 201
6 votes
1 answer
14k 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 ...
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"> ...
user avatar
  • 646
12 votes
4 answers
75k 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 ...
user avatar
  • 319
0 votes
1 answer
184 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 ...
user avatar
-2 votes
2 answers
349 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 ...
user avatar
12 votes
4 answers
49k 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 ...
user avatar
  • 11
0 votes
1 answer
210 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 ...
user avatar
  • 551
3 votes
1 answer
656 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?
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 ...
user avatar
  • 173
1 vote
1 answer
645 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 ...
user avatar
  • 551
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?
user avatar
  • 11
1 vote
0 answers
434 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 ...
user avatar
1 vote
2 answers
16k 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
user avatar
1 vote
2 answers
230 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 ...
user avatar
1 vote
1 answer
340 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 ...
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 ...
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 ...
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, ...
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 ...
user avatar
  • 1,077
0 votes
1 answer
388 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 - ...
user avatar
1 vote
0 answers
307 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 ...
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 ...
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 ?
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 ...
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 ...
user avatar
0 votes
2 answers
938 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 ...
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 ...
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.
user avatar
  • 43
1 vote
1 answer
1k views

PyQt apps cause Window Manager to crash - where's the problem?

I've upgraded to Ubuntu 11.10 and I have a strange problem. PyQt apps, like ReText and the one below, cause window manager to go crazy. Metacity crashes, Compiz hangs, GNOME Shell / Mutter displays ...
user avatar
7 votes
3 answers
2k views

Where is the reference to the currently used icon theme stored?

There are several related questions, but I found none that really answered this detail: Where is the reference to the current icon theme stored? Since the icon theme can be changed, hence so too ...
user avatar
  • 4,330