Stack Exchange Network

Stack Exchange network consists of 174 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 a cross-platform application development framework widely used for the development of application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while having the power and speed of native applications. Qt is available with both commercial and open source licenses. Questions about programming with Qt should be asked on Stack Overflow.

0
votes
0answers
4 views

Qt 2.3.2 Make Issues

I am in the process of setting up Qt version 2.3.2 on my Ubuntu 18.04 machine. This version is necessary for a GIMP plugin that I wish to try out. I got up to the part where I run make. It starts out ...
0
votes
1answer
10 views

#include <QGL> QGL: No such file or directory

I've got a problem my dudes. For a school project, I must install some stuff to use a graphics library in c++. The lib is called libQGLViewer. I'm using Linux Mint. The problem is the following: ...
0
votes
0answers
12 views

opengl unable render when shader are changed from UYVY to RGB

I'm using opengl in linux qt for rendering video frame. I have taken UYVY opengl shader reference from this link and RGB code which I'm using in opengl is given below. Initialization. ...
0
votes
0answers
7 views

How to check memory leaks in simple Qt Widget application using Valgrind? [migrated]

I never use Valgrind before and today I try to check memory leaks in basic Qt Widget application using Valgrind's Memcheck. Application was created by following steps: In Qt Creator (version 4.8.1 ...
0
votes
1answer
14 views

Create file.desktop on ubuntu for a Qt GUI Script

I have a simple GUI script written in python3 ,Qt5. in folder of project exist an icon folder that are contain icons used in app.I created a app.desktop file in "/usr/share/applications/" : [Desktop ...
0
votes
1answer
33 views

What is wrong with my Qt environment? It reports “could not find or load the Qt platform plugin ”xcb“ in ”“.”

Five months ago I upgraded from Ubuntu 16.04 to Ubuntu 18.04. Following this upgrade several Qt applications no longer worked for me. Instead of starting up I would see errors such as: $ git cola &...
0
votes
0answers
20 views

Caret in Qt application has little triangle on the right

When I type into text field in Qt application (SQLite Studio), I see a little triangle on the right side of blinking caret: Lorem ipsum I pasted to the field using middle click before. This caret is ...
0
votes
0answers
8 views

Unable to use Data Breakpoints

I'm trying to remote debug a UI application in QT running on a Yocto based embedded Linux device. My program seems to segfault when interacting with certain UI elements. I've narrowed the problem down ...
0
votes
0answers
23 views

When I copy data from Qt-Creator to Excel, the tabs are turned into spaces

I am using Qt-Creator to edit a file which contains lines of tab delineated data, and I have white-space rendering turned on in Qt-Creator, so I can see the tabs. When I copy this data into an excel ...
1
vote
1answer
74 views

How to use the same file picker for QT and GTK apps

The file picker for GTK+ apps (eg. Firefox) looks like this: For qt apps (eg. nomacs) it looks like this: Is there a way to use the QT file picker for both GTK and QT apps? I am running arch 4.20 ...
0
votes
1answer
47 views

Missing dll's Qt 5.12 release build

Windows 7 machine QtCreator 4.8.0 Qt 5.12.0 MSVC2015 64-bit Compiler MSVC C++ 14.0 (x86_amd64) I am trying to create a very simple program which I would like to share with my colleagues. They do not ...
1
vote
1answer
59 views

How to fix undefined references to Qt5 lib with CMake in ubuntu-based docker?

I'm trying to run a Qt project with CMake in an ubuntu 18.04-based docker container. When I run the cmake and make commands for my project, I get the following errors. /usr/local/Qt-5.12.0/lib/...
0
votes
0answers
14 views

Why are internal variables duplicated in qmake 2.01a

I tried changing the variables in qmake, via qmake -set, but I got a duplicate variable with new value. Example: C:\Users\User>qmake -query QT_INSTALL_BINS:c:\Qt\msvc2013\4.8.6\bin ...
0
votes
0answers
11 views

Qtcreator doesn't show include folder with cmake

Qtcreator doesn't show include folder in "Projects" tab, but it doesn't complain, I can compile and debug my program, it doesn't underline includes yellow, nothing, just doesn't show ./include ...
0
votes
1answer
53 views

Upgrading Qt Version for use on KDE distros

I was wondering if it's possible to upgrade the QT version used by a distro such as Kubuntu to satisfy dependencies that for example some widgets might have. So for example use Qt 5.9 with Kubuntu 16....
0
votes
0answers
22 views

QT - Handling Multiple Windows

I mostly worked with Windows Forms where we have main application window and up on button click child windows are popped-up. How these type of Windows can be implemented with QT QML. I have gone ...
0
votes
1answer
39 views

UIC doesn't output to a file

It just doesn't. I'm fairly certain this is an issue with my computer, possibly due to the path variables, because I get the same problem with qt 5.11 as well as qt 5.12. It also seems like I'm not ...
0
votes
0answers
56 views

Read only file system on linux embedded device

I am using Qt to write an app to deploy to an embedded Linux device. My dev computer is a vm running Ubuntu and it communicates with the embedded device over ethernet and rs232. Qt has a section to go ...
1
vote
1answer
104 views

Some Qt apps (VLC and KDevelop) crashes in Manjaro due to QXcbWindow::setWindowIcon seg fault

Recently I started using Manjaro 18.0. Everything is okay except KDevelop and VLC crashes when it starts. My desktop environment is the newest version of Deepin DE. Previously I have also tried ...
2
votes
1answer
231 views

Qt5-default unable to download

Kind of a dumb predicament, but I am having issues installing qt5 it seems. My machine is running kubuntu 18.10. I have been running: $ sudo apt-get install qt5-default But I get The following ...
0
votes
0answers
37 views

Override icons in a QT5 app on other platforms than KDE/Linux

Afaik KDE apps are supposed to use a system-wide theme for the decorations, fonts and icons—even if just some of them. Can this property be used to override icons in a QT5 app on a platform other than ...
0
votes
0answers
40 views

Is there a way to specify QT5 printing settings on the command line?

I use Qutebrowser to "print" HTML pages to PDF. Everything works great if I click "properties," set the page size, and then set the margin, but I have to do this every time, and it's tedious. Is there ...
0
votes
0answers
113 views

Failed to load libqxcb.so library while opening virtualbox on linux

I tried to reinstall libqt5gui5, libxcb1, libxcb1-dev, but it didnt help. I also searched for missing libraries for virtualbox with ldd, but I didnt found any. Error from debug mode don't show the ...
-1
votes
1answer
194 views

What to install with Qt Creator?

I'm trying to install Qt creator on Windows but it has so many options (and the whole installation requires many GB) that I really don't know which ones I need. I only want to be able to create and ...
1
vote
1answer
1k views

wireshark: error while loading shared libraries: libQt5Core.so.5 [duplicate]

I succesfully installed wireshark 2.6.2, but I can't execute it due to this error wireshark: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or ...
3
votes
1answer
1k views

Arch on WSL: libQt5Core.so.5 not found, despite being installed

I was hit by some hardcore power-tripping forum mods on the Arch Linux forum, so here I am. I'm trying to run GUI apps on WSL, such as dolphin or kate. However, none of them can find libQt5Core.so.5, ...
0
votes
0answers
15 views

Getting 32 bit Qt framework on a PowerPC Mac

I need to install 32 bit Qt libraries on a PowerPC Mac. I installed Qt 4.8.6 which went fine. However, when I do file /Library/Frameworks/.../QtTest, I get Mach-O 64-bit ... x86_64. Where/how do I ...
0
votes
0answers
258 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 ...
0
votes
1answer
328 views

How do I make my distro's libQtCore v5.10.1 available, when the application's shipped v5.6 is in use?

1) When I start Understand from the command line, I see the following. All is OK. : [me@box1 ~]# understand 2) Under the "Getting Started" heading, on the "Getting Started"-tab : when I click on ...
0
votes
0answers
31 views

Make Qt-based program draw lines in tree views on Windows?

Is there any possible way to get a Qt application draw lines in its tree view on Windows? Specifically I dislike how the outline view, a tree-view element, isdisplayed in LyX on modern versions of ...
5
votes
1answer
238 views

Cedilla with ' and c (dead key) for QT apps

As a Brazilian, I want my american keyboard to use dead keys and to map cedilla (ç) to ' + c. The default mapping gives me ć. For GTK-based applications, this setup can be easily achieved by setting ...
2
votes
0answers
102 views

programmatically changing konsole font size

I use two different konsole font sizes when I'm on my laptop vs when I have an external monitor connected. I'd love to be able to quickly change the font size with a shell script. So far I've tried ...
0
votes
2answers
937 views

How to force Qt application running via sudo to use user theme/fonts configuration?

everyone. I am developing applications in Qt5, but it requires low level hardware access and thus need to be executed as root. My target operating systems are Debian (ARM) and Ubuntu (x86). Problem ...
0
votes
0answers
500 views

C++ on Qt creator: debugger not showing static array elements

I'm using Qt creator and I swear I've seen it display static array elements before. I don't recall updating the IDE, the compiler, the debugger or anything else, so I'm not sure what's going on. I've ...
0
votes
1answer
175 views

How to install Qt module on perl?

i want to install perlqt to create a GUI. i see the INSTALL file and it said that a need to install KDE. is really necessary this installation? or just some files. thanks for you reading.
1
vote
1answer
965 views

Suppress “qt5ct: using qt5ct plugin” message

Every time Octave draws a figure (eg graph), I get the following message: qt5ct: using qt5ct plugin How do I suppress it?
3
votes
1answer
16k views

Please Help installing Qt centos 7

I have 2 python versions, python3.6 is installed on virtualenv for development use, I am trying to install PyQt and Qt packages for use with python3.6 only, I have installed PyQt5 using sudo pip3.6 ...
1
vote
1answer
632 views

Grabbing video from framebuffer

Can I grab video from framebuffer using fbdev (old /dev/fb0) or DRI DRM features? Can I use ffmpeg for this purposes? Currently I want to grab output of Qt Quick window, running on EGLFS QPA backend ...
0
votes
1answer
294 views

Qt Creator does not run

I'm using Linux Mint 18.1. Downloaded Qt, installed it fine. When I run it, I get the error: /home/eddie/Qt5.9.0/5.9/gcc_64/mkspecs/features/toolchain.prf(129): Variable QMAKE_CXX.COMPILER_MACROS is ...
0
votes
1answer
871 views

Ubuntu 16.04 Android Emulator

I want to use Qt + Android. I installed Qt 5.9, added Android to installation, and installed Android Studio, SDK for android 22 and 25, NDK 15, apache ant and added some libs to system also. However ...
0
votes
0answers
1k views

Get the error “ version `GLIBC_2.14' not found” after installing qt-creator 4.2.1 on RHEL 6.6

I was able to install Qt-5.8.0 on my system (RHEL 6.6). After installation, I also added it to $PATH. Now when I type qmake --version I get the following output: QMake version 3.1 Using Qt version 5....
1
vote
0answers
91 views

How to record a Qt5 application window with minimal to zero CPU overhead on Windows or Linux?

I'm writing a real-time volume rendering application that runs purely on the CPU. It's quite fast but nevertheless the more CPU power the better for interactivity - basically, I'm designing it to use ...
1
vote
0answers
103 views

Ugly font with QOwnNotes

I have a very bad font. I think it's a Qt issue. I installed a Qownnotes snap on Debian Sid. I'm new to snap's and Qt and I can't find a explanation why this happens. When I see the screenshot on the ...
1
vote
1answer
628 views

Fail to change HDMI display resolution on imx6

I am working on embedded product that runs on Embedded Linux & Qt Framework developed to run on i.Mx6 custom board that we built. We have LVDS display interface which is set at 1366x768 resolution....
1
vote
2answers
2k views

Synology CloudStation Drive client for Ubuntu fails to start

I have a Synology NAS, and wanted to try out the CloudStation Drive client for Linux. Downloaded the current deb file for 64bit Ubuntu (I'm using Mint Linux, which is based on Ubuntu) and installed it....
1
vote
1answer
170 views

Disable single-click file browser behavior

Since recent Clementine update, behavior of Files tab has changed: folders and files now open on single click instead of double click. I have not found setting for this in Clementine but since the ...
1
vote
1answer
3k views

Qt install offline

Is it possible to install Qt toolkit without internet connection? I downloaded offline installer, but to begin installation process I need to log in Qt Account. Is there some way to skip this step? ...
3
votes
1answer
718 views

How to style Konsole's QTabBar border?

I'm having this ugly border in my Konsole v16.04 tab bar: My profile css: QTabBar::tab { background: #002b36; color: #839496; } QTabBar::tab:selected { background: #073642 } QTabBar { ...
0
votes
0answers
123 views

Why can't I name software “hwsetup” in Windows 10?

A strange thing happened to me today. I am a software developer and I develop applications using Qt. I wanted to write an unit test to one of my components, so I created a new, fresh project called "...
1
vote
0answers
57 views

X forwarding freeze after source server is restarted by watchdog

I am currently working on an issue with the Xforwarding of a QT application over lan. Our source server is forwarding the interface of our application using the command "screen -dm" to a client ...