Questions tagged [qt-creator]
Qt Creator is a comprehensive open source C++ IDE which is part of the Qt Project.
qt-creator
4,954
questions
0
votes
0
answers
18
views
Fix warning: Slots named on_foo_bar are error prone
I am getting this warning in header files from clazy-connect-by-name literally hundreds of times in a legacy project I have been supporting for 15+ years in Qt. I recently followed an upgrade path ...
0
votes
0
answers
31
views
Setup subdirs project with app and lib subprojects for qmake in QtCreator
I'm setting up a sample subdirs projectmain with two subprojects: projectgui (app template) and and projectsub1 (lib template). I'm using QtCreator 13.0.2 with Desktop Qt 6.7.2 MSVC201964bit kit on ...
-1
votes
0
answers
41
views
QT no matching function for call to 'makeCallableObject'
I'm trying to use the default Qfontcombobox in my qt app to change the font of a text edit, and i am getting this error for some reason.
Here is my definition for my mainwindow.cpp
#include "...
0
votes
0
answers
46
views
Qt creator can not parse cmake version after update from Qt 6.5.3 to Qt 6.7.2
this issue has stocked to me for 2 days, I really want to fix this.
Backgound
I recently update Qt 6.5.3 to Qt 6.7.2 for Windows 10, there is a issue "error: The kit needs to define a CMake tool ...
0
votes
0
answers
15
views
No known features for CXX complier Error for Windows
enter image description hereI was trying to install opencv file paths and qt on cmake. I added the appropriate paths and configured, I did not receive any errors, but when I try to generate, I get a ...
0
votes
0
answers
7
views
QtCreator: missing shortcut for switching between widgets
For example (in QtCreator) using Ctrl-F to find a piece of text in the opened file – the focus switches from files to search box, I enter the searched text, I enter ENTER, and if existent, the file ...
0
votes
0
answers
25
views
Resizing an image selected by the user using values taken from a combobox
In the project, I am trying to take an image from the user using a file directory, resize it with the value selected from the combobox, and show the resized version in the application, but only the ...
0
votes
1
answer
34
views
QtCreator "application output" not colored with logs from spdlog (c++)
The title pretty much says it all.
I am running a C++ application that uses SpdLog to format all of my logs. It adds colors according to the level type of the log.
It uses a ansicolor_stdout_sink_mt ...
0
votes
0
answers
52
views
GDB debugger can't show correct value of Qt‘s container in Qt Creator
Here is my code:
QList<int> a;
a.push_back(10);
a.push_back(11);
int b = 11;
QVector<int> c = {13, 14};
qreal d = 10.0;
When I debug with gdb in Qt Creator, it can'...
-1
votes
0
answers
19
views
QQmlApplicationEngine failed to load component QtLocation
I was following a Qt UI design tutorial from youtube, The QtLocation module is not in my system, and I don't know how to get it
main.qml
import QtQuick 2.15
import QtQuick.Window 2.15
import ...
0
votes
1
answer
78
views
Qt console application ignores inputs (cin)
I just installed Qt Creator 13.0.2 and created my first console application (left all in default):
#include <QCoreApplication>
#include <QDebug>
#include <QString>
#include <...
0
votes
0
answers
18
views
Qt Creator remote compiling and debugging?
I am developing C++ software using QtCreator 6.02.
I have a puny desktop machine connected to a powerful server via a 1G wired LAN and I'd like to access the Qtcreator gui locally on the desktop while ...
0
votes
1
answer
80
views
Why am I getting "undefined reference" errors trying to use OpenCV in Qt Creator with MinGW?
Just started to use OpenCV and Qt. When I use Qt 6, according to the routines in the book entered the corresponding code, but in the compilation stage has been reported an error. Originally I thought ...
-1
votes
0
answers
36
views
Qt Creator design tab is greyed out in QML projects [duplicate]
I don't know if this is the expected behavior. I created a new Qt Quick application project. It shows up a main.qml and main.cpp file. The problem is the design tab is greyed out.
0
votes
1
answer
60
views
Qt qmlformat unwanted behaviour
I use qmlformat in Qt Creator to format my QML files, using these options, but sometime later it started to add new option --inplace and program stopped working with this error: Error in text ...