I am developing an application with tabviews. I want that tabView to change the widget depending on the ComboBox choice. ex: if the first index chosen I want ta
I want to add python functions in C++ code. The project is written using qt. In Mask.pro I have: ... INCLUDEPATH += "D:/workplace/Python/include" LIBS += -L"D:/
I found the icon of QPushButon is blurry when DPI scaling is enabled. Even if replaced by SVG, the icon is still blurred. Is there any way to make the icon clea
I do a pokemon project with a Qt interface. I created a class Trainer and Pokemon : class Pokemon { protected: string itsName; doub
I have created a QPolarChart and I want to hide the radial tick labels but leave the tick circles. I simply want to get rid of the text which shows "0.0", "20.0
Using Qt wizzard I created ToDoListModel2 class derived from QAbstractListModel. Code: todolistmodel2.h #ifndef TODOLISTMODEL2_H #define TODOLISTMODEL2_H #incl
I migrated some code from Qt 5.6.0 to 5.12.0. Suprisingly, I'm getting lots of warnings related to QWindowsWindow::setGeometry. Whenever a dialog is shown on to
I have been unable to figure out how to easily rearrange the menu bar selections that I have created in Qt Designer. Older documentation indicates that I can pr
I have a MSVS 2019 C++ project which includes Qt source files that are processed by the Qt moc. In order for my header files (and thus, class declarations) to b
I was working with qt application for raspberry pi using visualGDB cross compiler in 2015 it was working fine for me, but after 5 years I restarted the project
I want print the value of textField, but I want that the user only can type numbers, "," and / TextField { id: textField1 implicitWidth: 200 implic
My Qt C++ app captures video from the camera on the Mac. It has the NSCameraUsageDescription value set in its plist file. But, not surprisingly, this doesn't he
The answer code is located here (https://stackoverflow.com/a/50550471/4962676):https://github.com/eyllanesc/stackoverflow/tree/master/50550089 The answer was m
I am using qmake to compile my QT project. In my .pro file I have a line: QT += 3dcore 3drender 3dinput 3dextras When executing qmake myprofile.pro I get the
I'm creating a screen where users can add certain tiles to use in an editor, but when adding a tile the window does not correctly resize to fit the content. Exc
Hello Guys i used just this simple example to play music with this code: QMediaPlayer *mediaPlayer { new QMediaPlayer }; mediaPlayer->setMedia(QUrl(currentMe
I am trying to pass data from a Qdialog (Login dialog) to my mainWindow after a successful login and was wondering if it is possible to use Signals and slots to
I have list with pointers QPushButton: QList<QPushButton*> listButtons; In this code I am adding dynamically buttons listButtons.push_back(new QPushBu
I have a simple ApplicationWindow that should prevent quitting by overriding onClosing signal. However, when the app is closed from macOS dock, the onClosing is
I would need to customize the QModbusDataUnit by sending custom hex via modbus, below my code, I'm trying to customize the post but I do not understand how to d