Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pyqt]

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

1
vote
1answer
1k 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 ...
2
votes
1answer
476 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 ...
1
vote
0answers
218 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 ...
1
vote
1answer
662 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 ...
2
votes
1answer
4k 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 ...
0
votes
2answers
2k 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 ...
0
votes
2answers
3k 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 ...
1
vote
0answers
72 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 ...
0
votes
1answer
190 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 ...
3
votes
1answer
1k 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 ...
12
votes
2answers
8k 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 ...
1
vote
0answers
285 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/...
1
vote
0answers
107 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 # -*- ...
2
votes
1answer
3k 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 ...
5
votes
1answer
11k 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 ...
1
vote
1answer
657 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"> ...
7
votes
2answers
42k 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 ...
0
votes
1answer
116 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 ...
-2
votes
2answers
275 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 ...
12
votes
4answers
38k 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 ...
0
votes
1answer
321 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 ...
0
votes
1answer
178 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 ...
3
votes
1answer
581 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?
4
votes
1answer
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 ...
1
vote
1answer
574 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 ...
0
votes
2answers
920 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?
1
vote
0answers
432 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 ...
0
votes
2answers
12k 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
1
vote
2answers
172 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 ...
1
vote
1answer
313 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 ...
3
votes
0answers
109 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 ...
1
vote
0answers
27 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 ...
0
votes
1answer
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, ...
3
votes
1answer
14k 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 ...
0
votes
1answer
320 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 - ...
1
vote
0answers
303 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 ...
1
vote
1answer
2k 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 ...
21
votes
4answers
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 ?
4
votes
1answer
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 ...
59
votes
1answer
41k 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 ...
0
votes
2answers
854 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 ...
2
votes
2answers
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 ...
4
votes
1answer
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.
1
vote
1answer
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 ...
6
votes
3answers
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 ...
2
votes
4answers
3k views

How can i fix some broken packages PyQt packages?

I'm trying to install PyQt but i've met some difficulties (i.e packages that won't be updated and stuff like that). I'm not very proficient with Ubuntu, so some help is needed. Here's the output i get ...
1
vote
1answer
2k views

Installing PyQt4 for Python3

I am trying to get my code running using Python3 and PyQt4. When I do this: gruszczy@gruszczy-laptop:~/Programy/fathom/tools$ python3.1 fathomqt.py Traceback (most recent call last): File "...
11
votes
2answers
2k views

Quickly template for PyQt?

Because I like Qt and Python, is there a Quickly template for PyQt similar to the PyGTK one?