Category "qt"

Change default working directory in Qt Creator

Is it possible to change the default Working directory in Qt Creator to specified path? Or is it possible to set Working directory in .pro file? PS: I know ab

QT_STATIC_CONST does not name a type

I was using QT5.4.1 version with the QWT-6.1.2 library that I've installed but in compiling I receive the error "QT_STATIC_CONST does not name a type". After so

Qt Creator GDB "Additional Startup Command" , "Additional Attach Command" what is the syntax?

Having troubles settings solib-search-path in Options->Debugger->GDB-> "Additional Startup Command" , "Additional Attach Command" looks like if I do: "

QT QTest::keyclick or mouseMove seems don't work with QMenu in my case

I have a simple flow Click on QPushButton QMenu with a couple of actions appears Navigate through the QMenu using key clicks or mouse move. (Triggering actions

QWebChannel after I registered some objects I need to register a new object to the Js but it faills to call this new objects cpp functions

At some I need to register some objects with qwebchannel and futher in the application I need to register a new object to the qwebchannel. The thing is that it

QSqlQuery::exec: database not open

I'm working on qt, my database was rightly connected with qt but suddenly i have the following problem every time i debug,,,i i become not able to fetch or to a

Using chromium embedded framework inside qt application

I am investigating the option of using chromium embedded framework in C++ desktop application to implement new HTML views. The issue is all the GUI are implemen

Minimizing window issue in Qt 5.15

Window { id: mainWindow width: 960 height: 600 flags: Qt.FramelessWindowHint | Qt.WindowMinimizeButtonHint | Qt.Window Rectangle {

Show string values on x-axis in pyqtgraph

I want to display string values for ticks on x-axis in pyqtgraph. Right now I am unable to figure out how to do that. Ex: x = ['a', 'b', 'c', 'd', 'e', 'f'] y

Can't run my built Qt Design Studio (Qt 6) project with CMake on Windows

I'm trying to run a compiled Qt6 project with CMake and mingw64, however, Qt6 apparently can't find QtQuick.Studio.Effects, QtQuick.Studio.Components and QtGrap

Qt and Intel realsense Getting started

I didn't know where to ask as a beginner. So If you can help... I want to create a project using: Qt 5.15.0 Visual studio 2019 C++ openCV 4.2.0 (if is nece

Integrating Crashpad with a Windows Qt application

We are trying to integrate Crashpad with our Qt application and have run into several errors. We built Crashpad and attempted to link it to our application usin

cuda 10.2 in Qt 5.14 ubuntu 18.04

I am planning to start cuda programming in Qt framework. I would like to start with a simple example. system information : OS : ubuintu 18.04 LTS Qt version : 5

TortoiseHG icons missing (Ubuntu Linux 16)

Running on Ubuntu 16.04.2 LTS, with Python 2 (and I also have Python 3 installed), TortoiseHG used to show icons and text in toolbar, and I'm not sure when it h

What are the configure options for Qt that enable dead keys usage?

I use a bare Ubuntu LTS 16.04 vm to create an AppImage for one of my projects. I create a minimalistic static Qt for this, so that the AppImage's size is as sma

c++ QPushButton signal and slot

I have a problem creating a QPushButton and linking its signal to my slots. First, I created a class with the slot: class A : public QWidget{ public slots:

C++ - Qt Creator - /How to have DOT and COMMA as decimal separator on a QDoubleSpinBox?

I am building a C++ GUI application on QT Creator. I changed the location to Portuguese/Brazil, now only comma is the decimal separator. I need the QDoubleSpin

Unable to render webpage using QWebEngineView

I've been trying to render a webpage onto a widget in PyQt5. These are my settings PyQt : 5.15.4 | PyQtWebEngine : 5.15.4 | PyQt5-tools 5.15.4.2 I'm trying to r

Qt: How to change cursor by using style sheets?

I know I can change the cursor by "setCursor(const QCursor &)". Now I want to change it by using qss, but I don't know how to do it. QWidget has the cursor

worth the time investment to learn Qt (c++)? [closed]

i already know java, c++ (no one framework for GUI development) and little of c# (winforms for gui development) but i'm thinking to ivest my f