qt5 Questions
2
Solved
Here is my setup:
A background process that keeps running and does it's job.
A launcher which launches the aforementioned process and monitors it, relaunches it if crashed or killed.
I wish to...
Grout asked 21/1, 2017 at 14:40
4
Solved
I want change only the height, I need it larger.
8
Solved
4
Solved
3
Solved
I Have a JSON model, and I populate it with QTreeView:
*-group1
| |
| *-item1 value1
| |
| *-item2 value2
|
*-group2
|
*-item4 value3
Now I want to disable selection for groups, so that user ...
8
First of all, I'd like to mention that I found that related post How to get the mouse position on the screen in Qt? but it "just didn't work" for me. I made some tests, and the results didn't work ...
Schulman asked 16/8, 2015 at 21:39
4
Normally, to add a database to qt, we would go to the .pro file and add sql, but the project am working on was imported from cmake, so it does not have a .pro file. Rather it has a CMakeLists.txt f...
6
Solved
This question is asked several times in Stack Overflow. I tried methods in several discussions but it didn't work. So my OpenCV library which was built with custom Qt doesn't work properly:
import...
Ski asked 19/1, 2020 at 11:44
4
I downloaded the .exe installer from download.qt.io, but it asks me to login to continue to install. I recall there is a skip button on the installation window to bypass the login in the past Qt re...
Polito asked 10/6, 2021 at 4:17
5
Solved
I use QT Creator on surface pro4 and the font of menu is too small:
what should i do to change the font size?
version:5.5
Kristofor asked 29/3, 2017 at 14:17
3
Solved
I have two classes A and B, here is a snippet in B.h:
#include "A.h"
class B : public QDialog
{
Q_OBJECT
public:
void do_something();
private:
A *a;
}
and in B.cpp:
B::B(QWidget *parent) :
...
Habitant asked 3/12, 2013 at 13:57
5
Solved
I develop an application using Visual Studio 2015 + Qt VS Tools extension. For me it's first time I used Qt (version 5.14.1) in my project. Everything was working fine until something wrong happene...
Durga asked 21/5, 2020 at 19:11
2
Solved
So when programming in Qt I like to go with the Qt implementation as far as possible.
As far as I've seen there's no Qt version of the std::unique_ptr or is there?
What would be the alternatives t...
13
Solved
This happens even on a freshly created, empty project.
The Run (and also Debug) buttons are disabled for the Qt5 configuration (they're enabled for the Qt4 configuration). The build button is not ...
Holliehollifield asked 2/6, 2014 at 17:9
8
Solved
I have installed gqcnn, Pyrep and autolab_core. After that, I executed the code that my coworker wrote and, it ran fine on his computer.
However, I cannot run the code. The occurred error was
pytho...
3
Solved
I'm currently reading the QML docs, and I realized that there is no explanation on how to define the app icon.
I tried something, but this doesn't work:
int main(int argc, char *argv[])
{
QCoreA...
4
Solved
I want to have a QTreeView without an indentation on the left side increasing at each nesting level. I tried setting QTreeView::setIndentation(0). It removes the indentations just as I want, howeve...
2
Solved
I have three buttons that are in an ExclusiveGroup:
ExclusiveGroup {id: group}
Button{
checkable: true
exclusiveGroup: group
}
Button{
checkable: true
exclusiveGroup: group
}
Button{
checkabl...
4
Solved
Is it possible to disconnect a lambda function? And if "yes", how?
According to https://qt-project.org/wiki/New_Signal_Slot_Syntax I need to use a QMetaObject::Connection which is returned from th...
3
Solved
I want to align Rectangles in a RowLayout left to right. In below code example two Rectangles share additional space instead stack one after another. I used Layout.alignment: Qt.AlignLeft in RowLay...
3
Solved
I've recently updated all msys2 packages and now I can't build my project.
The error occurs at the moment of linking one of .dlls - target_library.dll.
The error message isn't clear to me. What do...
7
Solved
I am porting code from qt4 to qt5. I added the following line to my .pro file, as suggested:
QT += webkitwidgets
However, when I run qmake, I get the this error:
Project ERROR: Unknown module(s...
2
Solved
Is it possible to get Qt error messages when using dynamically created items?
I've installed a message handler to capture Qt output at run time:
qInstallMessageHandler( myMessageOutput );
I loa...
2
Solved
I use QGridLayout very often, and there's a requirement I don't know how to or if I can achieve with this kind of layouts.
My question: Imagine I have two normal widgets (derived from QWidget) on t...
4
I'm using Qt 4.5 to translate a .ts file to a .qm file.
But now I've lost the .ts file.
How can I convert it back - from .qm to .ts?
Cliffordclift asked 3/9, 2015 at 10:44
1 Next >
© 2022 - 2025 — McMap. All rights reserved.