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 [qt]

Qt is an application and UI framework. The K Desktop Environment is based on QT.

0
votes
0answers
43 views

When I use C++ to call python, I have a problem [on hold]

I ran this command in QT. QProcess::execute("python ./test1.py"); The test1.py file is placed under the debug folder. When I use python test1.py, it works fine. python code: import os os.system("...
0
votes
0answers
36 views

How to use QT to open the Linux terminal and run the written shell in the terminal

I want to open a terminal in QT and run a shell script on a terminal. I use the system() command like this but the terminal always Flash past by: system("gnome-terminal -x bash -c 'sh auto.sh'&")...
0
votes
0answers
51 views

Could not load the Qt platform plugin “xcb”

I'm using xubuntu 18.04(Linux 4.15.0-48-generic x86_64 )(buildd@lgw01-amd64-036) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #51-Ubuntu SMP), after installing anki as shown on anki's web: $ tar xjf ...
0
votes
0answers
11 views

Cron and etherwake on Raspbian

I wrote small app which runs etherwake. From bash it works fine and wakes up another PC. But if it is launched from crontab, then nothing happens. Has anyone encountered a similar problem and how to ...
0
votes
0answers
24 views

Couldn't load SIP module. Python support will be disabled

I installed QGIS version 3.6 on my pc with Lubuntu 18.10 64 bit. I have python 3.6.7 and QT 5.11.1. Once I run QGIS i get this error Couldn't load SIP module. Python support will be disabled. ...
0
votes
0answers
24 views

Qmake Specify QT installation path

I try to compile the minitube on ubuntu 16.04LTS using the non-repository installed version of Qt as seen in: http://sourcedigit.com/19858-how-to-install-qt-5-6-1-on-ubuntu-16-04/ and after making the ...
0
votes
0answers
15 views

Qgis and qtdesigner4: /lib64/libQtWebKit.so.4: undefined symbol

I am trying to launch two programs but there is a problem with /lib64/libQtWebKit.so.4 qgis: qgis: symbol lookup error: /lib64/libQtWebKit.so.4: undefined symbol: ...
0
votes
0answers
57 views

Set default file encoding to ASCII?

Years ago, most text editing applications had the option to set the default file encoding to US-ASCII. Now I can't find any recent editor on Linux that allows you to choose ASCII. If the purpose is to ...
0
votes
0answers
60 views

No mouse cursor in Qt EGLFS on Yocto

I am trying to use mouse cursor in Qt5 application. When I run ./Qt5_CinematicExperience : Failed to move cursor on screen HDMI1: -14 Could not set cursor on screen HDMI1: -6 There is no mouse ...
0
votes
0answers
46 views

Qt GTK theme is unreadable

I am having Qt styling problems in FreeCAD using Linux Mint 19 Cinnamon. In FreeCAD (a Qt-based app), some components of the dialog windows are extremely thin and unreadable: Resizing the popup ...
2
votes
0answers
82 views

Problem with dead-key in linux (debian + KDE)

I am trying to have a clean configuration for my keyboards and layout. I want to be able to switch between FR layou and US international with dead keys. When I switch using the GUI it works well, ...
0
votes
0answers
44 views

Make Anki use system-wide desktop theme

I have installed the latest linux mint (19.1 Cinnamon) on my laptop, and downloaded the latest anki (v2.1.6) directly from the website. Previous versions of anki were distributed as .deb files, but ...
3
votes
1answer
304 views

Start a Qt/wayland application on top of weston on startup

I would like to launch a Qt application on start up. The application uses some of the features from weston/wayland desktop, so it should be launched on top of weston, right after weston is started. ...
0
votes
0answers
91 views

“make xconfig” raises a Qt error

When I call make xconfig in my linux kernel source directory, I get the following error scripts/kconfig/qconf Kconfig Gtk-Message: Failed to load module "canberra-gtk-module" Qt: Session management ...
0
votes
2answers
70 views

Meta key issue when using Emacs terminal on Lubuntu LXQT

While pressing Alt key on the keyboard the control is transferred to the terminal menu. There is an option in ubuntu terminal (Edit -> Preferences) to disable this Enable mnemonics (such as alt + ...
0
votes
0answers
29 views

Font not displayed correctly (mostly on Qt program), underline '_' not seen

I use Dejavu Sans Mono for default code font. I often find underline '_' unseen because bottom pixel is not displayed. Eg. KWrite (Kwrite's font setting is: "Monospace", normal, size 10) If I ...
1
vote
0answers
54 views

How can I correctly display Chinese characters on Debian 5?

When I try to use Chinese chars on a QT application, my pc shows rectangles instead of Chinese characters. My old system is version Debian 5 , I can use Chinese chars in Debian 8. I use the same font ...
2
votes
1answer
75 views

GTK and Qt apps seem to interpret XCompose differently

I'm using Ubuntu 18.04. By default, typing something like ^2 produces ², which I don't want: I want it to be ^2. I found out that to accomplish that, one has to set GTK_IM_MODULE=xim and QT_IM_MODULE=...
2
votes
1answer
139 views

Can’t run the ownCloud client on Linux Mint 19 Tara (Qt issues)

I have a problem running the ownCloud client on Linux Mint 19 Tara. It doesn’t start. If run from the command line, it gives me these errors: pavel@lenovo ~ $ owncloud owncloud: /usr/lib/x86_64-linux-...
1
vote
1answer
64 views

Upgrade from Ubuntu 17.10 to 18.04 Broke Texstudio/Qt

After performing a dist upgrade from 17.10 to 18.04 texstudio no longer runs. I get the following error This application failed to start because it could not find or load the Qt platform plugin "xcb" ...
1
vote
0answers
155 views

xfce4-terminal in fluxbox follows a different style/theme to xfce4-terminal in xfce

I am using xubuntu 18.04, but this question should preferably be applicable to all linux installations having both desktop managers "xfce" and "fluxbox". So I have started with xubuntu (i.e. ubuntu ...
0
votes
1answer
79 views

How can I upgrade my deb package

I have qt project and deb package that is built using following command: dpkg-buildpackage -us -uc After this action, my package is ready to install. But if I have my package installed and I want ...
0
votes
2answers
160 views

Plasma-browser-integration breaks with `export QT_QPA_PLATFORMTHEME=“qt5ct”`

I use plasma-browser-integration (not using KDE) to get firefox websites (like youtube, netflix..) to respond to mpris commands like play/pause, and to get the playback status (playing/paused) so I ...
1
vote
2answers
6k views

Ubuntu 18.04.1 LTS x64: how to update Qt 5.10 from Qt 5.9.5?

I'm on Ubuntu 18.04.1 LTS x64 and I need to update my Qt 5 installation from v5.9.5 to v5.10.0, however when I issue the command sudo apt-get install qt5-default it gives me that qt5-default is ...
0
votes
2answers
82 views

How to restore Okular default (toolbar) settings

I've somehow managed to remove the toolbar and menu-bar from Okular. After I've found no way to reactivate them from "outside" – sice I can't click on Options anymore – I've tried to reinstall a clean ...
2
votes
0answers
48 views

Dolphin File Picker everywhere

I'm currently on KDE 5.51 Is it possible to use the dolphin file picker everywhere? Some apps use the Qt file picker. This gets annoying as I prefer the single click in dolphin and don't want to ...
1
vote
0answers
43 views

GUI for application with and without sudo

I was running wireshark when I realized that executing it using sudo and without sudo gave me a different user interface. When running using sudo, it gives me nice sized icon and text. But running it ...
0
votes
1answer
2k views

Lxqt: what are the Qt-themes/Widget Styles, and how to install new ones?

Appearance of themes in Lxqt is determined at two levels (like in Plasma 5). The "Lxqt themes" affect mostly (only?) the panel. They are to be located in usr/share/lxqt/themes or ~/.local/share/lxqt/...
3
votes
1answer
220 views

Is there a way to set the QT icon theme, and other theme elements, from the command line?

I'm trying to automate the process of theming QT5 programs, in the absence of a DE like KDE, by writing a script that does it. I know that GTK has a bunch of config files that can specify all the ...
1
vote
0answers
28 views

Compiled execuatable is seen as shared library [closed]

I worked on a Qt app. i went to a build directory, i was an .out or .elf executable that will run once i click it, but am seeing this shared library of a thing, that only runs when called from a ...
1
vote
0answers
26 views

Firefox UI, Quake glitch, possibly tied to something with QT?

First of all I apologize if I'm on the wrong StackExchange entirely, I'm using Linux and this seemed like the best place to find advice because my problem seems to be so niche. I DON'T think it's a ...
2
votes
0answers
395 views

qmlscene could not find a Qt installation of

I'm running this in folder with main.qml qmlscene main.qml qmlscene: could not find a Qt installation of '' Then I checked qtchooser -list-versions 4 5 qt4-x86_64-linux-gnu qt4 qt5-x86_64-...
0
votes
1answer
255 views

How to disable or customize Qt File Dialog?

I'm using Debian with XFCE. I've got lots of applications that opens a file dialog from Qt (I think) (for example Chromium, Xfce4-screenshooter, etc) that has a "search" facility which I find totally ...
1
vote
2answers
440 views

Is $PATH environment variable of a desktop environment different from that in a shell?

I am trying to find the .desktop file for qtcreator, so I write this: $ for p in ${XDG_DATA_DIRS//:/ }; do grep -rni 'qtcreator' $p; done And here is the most relevant lines: /usr/share/app-...
1
vote
1answer
443 views

PyQt5 QMediaPlayer defaultServiceProvider::requestService(): no service found for - “org.qt-project.qt.mediaplayer”

I am using Fedora 28. I'm trying to run this code from PyQt5.QtCore import QCoreApplication, QUrl from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer from PyQt5.QtWidgets import QApplication ...
1
vote
1answer
1k views

Qt5: Font size too big when run in Gnome on Wayland

I'm using the GNOME 3 with Wayland and it works fine except when running a Qt application. The application behaves strangly (partial rendering, placed below Top-Bar) and some fonts are huge (e.g. ...
-2
votes
1answer
344 views

Command line HMAC calulation is different from Node.JS crypto.createHmac('sha256')

In Node.js I use following code hash = crypto.createHmac('sha256', SECRET).update(fileContent).digest('hex'); to calculate HMAC. C++/Qt code analogue QByteArray hash = QMessageAuthenticationCode::...
2
votes
1answer
730 views

i3 - a hateful handful of font sizes for my desktop

Since I installed i3 on Arch Linux I noticed a too big font size (in what was the first thing I saw, the i3bar at the bottom), so I changed the font size in the .config/i3/config file (now the line ...
0
votes
1answer
12 views

File popups freeze in specific directory and show nothing - how to fix?

I had this issue for months. Whenever I moved to my home directory within a file popup (from both qt and gtk), the window freezed and I could neither close it nor move to another directory. I just had ...
0
votes
1answer
411 views

No libgobject-2.0.so.0 when run GUI aplication

I have compiled qt widget GUI application on Centos 6.9 32 bit and trying to run on Centos 7 64 bit machine. I have copied required QT libraries, but when I try to run application I have error: error ...
1
vote
0answers
120 views

How to reduce CPU consumption of QWebEngine?

I wrote an app in Qt using the QtWebEngine component to display a simple Web page with SVG elements on a 7" LVDS screen. The app is running on a UDOO Neo board and over a custom Linux installation ...
0
votes
1answer
389 views

Qt5 Dependency Resolution problem during yum update in CentOS 7

I'm getting a dependency resolution error when updating my system. Most Qt5 dependencies are resolved by enabling epel-testing however this one remains: --> Finished Dependency Resolution Error: ...
0
votes
1answer
262 views

QT Scaling Gnome

QT seems to scale twice under gnome. When I start QT applications from gnome the icons are huge. When I start qt5ct from terminal, the scaling is fixed and icons are normal size. I have tried: ...
0
votes
0answers
52 views

How to let Linux terminal close automatically at the end of a program?

I am using Qt creator to compile and test my C++ code. After the program ends, I have to press the Enter key to close the terminal. It becomes annoying when there are too many terminals on the screen. ...
0
votes
1answer
184 views

“-qt=5 -version returned non-zero exit status” error when installing Wireshark

When I wanted to install Wireshark software from Source Code on Debian 8 Linux distro, I saw the following error messages: ... ... checking for uic... /usr/bin/uic checking for qtchooser... (cached) /...
2
votes
2answers
5k views

Scaling/HiDPI issue for QT5 applications under GNOME

I have a problem with QT applications (i.e. picard or masterpdfeditor) under GNOME: their interface looks tiny. Instead, GTK application looks good. I would like a global solution which will work ...
5
votes
1answer
1k views

How to tell what GTK and QT toolkits your applications are using

I am running Lubuntu 16.04 and would like a more unified look to my file chooser dialog boxes, so I trying to work out what toolkit each application uses, so then I can then figure out which ...
0
votes
0answers
67 views

QWebEngine not working on my old laptop

again. Since the last time I messed with my old laptop, reconfiguring it for my daughter, she eventually got a new one and the poor old thing landed on my desktop. I don't want to throw it away ...
1
vote
0answers
118 views

How to overcome HiDPI problem with Qt-based apps in Gnome environment?

I seem to have an HiDPI issue with Qt apps only, displaying extra large menus and toolbars when system dpi setting is 100+ The easiest solution for this I guess would be forcing a fixed dpi setting ...
0
votes
1answer
335 views

Error compiling pyside2 : No such file or directory qabstracttransition_wrapper.cpp

I try to compile PySide2 on my centos 7 I already successfully compiled Qt5.10 and Cmake 3.10.2 Then I clone PySide5.6 from git, and use this command to cmpile PySide2: python setup.py install --...