Questions tagged [qt-creator]
Qt Creator is a comprehensive open source C++ IDE which is part of the Qt Project.
4,703
questions
0
votes
0
answers
10
views
How to confirm the Widget Order in Qt Creator?
I've just defined the order in which I want my widgets on a Qt GUI but I can't confirm my action after hours of researches. How can I do it please ?
Here is the order I defined :
I would like the ...
0
votes
0
answers
8
views
qt creator kit can not configure my projects by use of cmake file [duplicate]
I want to load a project in qt creator and develop it by use of this IDE.
I provided a Cmake file that specifies needed toolchain and pathes of needed libraries and header files.(Target device is ...
0
votes
0
answers
38
views
'QMainWindow' file not found
the program works, but I don't like these errors
in mainwindow.h:
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow> //'QMainWindow' file not found
QT_BEGIN_NAMESPACE
namespace ...
0
votes
0
answers
20
views
QWizardPage disigned in Qt Creater can not set geometry correctly when title is set
I am trying to design QWizardPage using Qt Creater.
Everything goes fine if I don't set the title of the wizardpage. However, when I set the title, the wizard I got is strange. The title takes a large ...
0
votes
0
answers
19
views
How to use sub folders/libraries in Qt Creator
As far as I can see, Qt Creator is just putting all files in the root of the project folder. This will get messy quite fast, so I'm sure there is a better solution.
I'm using Qt6, Qt Creator 7 and ...
0
votes
0
answers
39
views
QMediaPlayer not working on Qt-Creator 7.0.0 with C++ [closed]
I have been struggling with adding background music to a game I have to make as an assignment on Qt-Creator 7.0.0 using C++. I made a separate project file to test audio on it beforehand and even ...
0
votes
1
answer
11
views
Qt creator debug mode can not run on Ubuntu20 [duplicate]
When I try to debug my application I observed this dialog and debug can not reach breakpoint
0
votes
1
answer
20
views
Debugging pyside, QML, JS project in Qt-Creator
I try to get started with Qt pyside with QML and JS using Qt-Creator IDE. Since the documentation remains vague about debugging capabilities of Qt-Creator I would like to have confirmed, that my ...
1
vote
1
answer
38
views
Can't build OR-Tools (fetched with FetchContent) with MSVC in Qt Creator
I'm trying to build a project that integrates OR-Tools, with MSCV 2019 in Qt Creator, but there are strange build errors (hundred of them, in Abseil source code at the moment, but probably only ...
0
votes
1
answer
39
views
qt creator horizontal mouse scroll not working (Shift + mouse wheel)
qt creator horizontal mouse scroll not working (Shift + mouse wheel), how can I fix this?
Qt Creator 6.0.2
Based on Qt 6.2.2 (MSVC 2019, 64 bit)
Windows 10
and
Qt Creator 7.0.1
Based on Qt 6.3.0 (...
0
votes
0
answers
76
views
Qt creator tracepoint
In Qt creator there are breakpoint settings. So I can put condition like this *(quint16*)((void*)e+0x8)==2 and it works nicely. But I would like to also print a debug message with that value - ...
0
votes
1
answer
23
views
PyQT how to change layouts size
I am trying to make a GUI that is very similar to Spotify using PyQT
I've already designed the main window and I am struggling with applying the design to QT Creator.
This is what I want it to look ...
0
votes
1
answer
41
views
Build error in Qt Creator in release but not in debug
I'm working with Qt 5.15.2 in Qt Creator 6.0.2.
I have a program that uses a .lib file which was built in both debug (_ITERATOR_DEBUG_LEVEL = 0) and release (_ITERATOR_DEBUG_LEVEL = 2) versions. I can ...
0
votes
0
answers
15
views
how to compile and then create lib file QtpropertBrowser
how to compile and then create lib file QtpropertBrowser. I want to add this library on my project. this library https://github.com/airpaio/QtPropertyBrowser . How can ı do.
can you help me?
0
votes
0
answers
9
views
QTCreator 4.11.0 on WSL1 does not hit breakpoints
QTCreator version: 4.11.0
Based on Qt 5.12.8
OS: Ubuntu 20.04 on WSL 1
I have a test suite using the QTestFramework which is driving a C++ dynamic library to test it.
Running the debug release ...
0
votes
0
answers
19
views
QT Creator .ui file and page when run programs are different
I'm trying make some design changes on
QT Serial Monitor
application
When I try to remove and rename buttons or other things, I can not see changes when I run the program. Do I need build/run ui ...
0
votes
1
answer
24
views
Statically compile using Qt Creator
I've seen this asked many times, but with no real concrete answer. How do I compile my Qt Creator project with statically linked libraries?
My project is really simple. It's just a calculator, so I ...
0
votes
0
answers
27
views
QT Creator - Centering elements(gridLayout) within stackedWidget page
MainWindow -> centralWidget -> stackedWidget -> page_startScreen -> gridLayout_StartScreen -> (page elements go in here)
I have learned how to center elements in QT Creator using ...
0
votes
0
answers
8
views
itk::ImageFileReaderException (000000B4DD17F060)
I'm new here, learning ITK through QT Creator; this is demo. https://itk.org/Doxygen/html/Examples_2IO_2ImageReadWrite_8cxx-example.html
I want to display Medical images '.jpg format'. I didn't got ...
1
vote
1
answer
54
views
use a signal between 2 classes Qt
I have a MainWindow class which contain a QComboBox and a widget which is from another class. This second class contain a QCheckBox and a QComboBox. I want to use a signal to change the checkState of ...
0
votes
0
answers
17
views
module "org.kde.marble" is not installed
I am beginner to work with marble . I try to import marble in Qml code . but it has error (module "org.kde.marble" is not installed )
i compiled marble this config enter image description ...
0
votes
0
answers
36
views
Making main widget resize with window in Qt Creator using PySide2
Like the title says, I'm designing a layout in Qt Creator and I want the main widget to resize dynamically with the window. I am not able to achieve this.
I have already found endless posts where the ...
0
votes
0
answers
4
views
How to change xx.ui display scaling in Qt-Creator?
I find in qt-creator but do not find display scaling function.
If qt-creator have not display scaling function, what reason lead to?
-1
votes
0
answers
18
views
Can I use Xcode font on QtCreator?
After using QtCreator for a long time on Windows I was comfortable with it. But now I'm using it on macOS too and it feels different.
I noticed default font is different on macOS. And Xcode font ...
0
votes
0
answers
53
views
QT Creator - How can I store/save selected file to project directory
I am trying to create a way to store file's in the project directory. I am using QFileDialog for the dialog and using Qfile::copy() to copy the selected file. I was able to get it to work by storing ...
0
votes
1
answer
36
views
Qt Creator Release Build Quit Unexpectedly
After compiling any version (Debug and Release) of the application with Qt Creator, it only runs from under Qt Creator with the option: "Add build library search path to DYLD_LIBRARY_PATH and ...
0
votes
0
answers
16
views
How to change color of QtCreator block highlighting?
https://doc.qt.io/qtcreator/creator-highlighting.html
is interesting but the color scheme on macOS don't feel perfect. How to change color of QtCreator block highlighting?
I mean the Options > Text ...
-1
votes
0
answers
25
views
Delete button does not function
I am working with an application called QtCreator with C++. I have a delete button, but the code I have does not work when I try to delete an item. Here is snippet of code. What could I do to fix it?
...
0
votes
0
answers
38
views
QListWidget - Add Items by For Loop Skipping Some Items?
I am experiencing an odd issue with a QListWidget seemingly adding items on every other iteration of a loop.
To be more detailed, I read a file in, which parses the contents line by line, and the ...
0
votes
0
answers
14
views
Error: AVD can not be created in Qt Creator
I'm trying to create an AVD for my QT Creator, I keep getting this error and now I don't know what to do.
Is there anything I can do to fix this?
Error Creating AVD - Qt Creator
Exception in thread &...
0
votes
0
answers
18
views
Error: AVD cannot be created in Qt Creator
I'm trying to create an AVD for my QT Creator, I keep getting this error and now I don't know what to do.
Is there anything I can do to fix this?
0
votes
0
answers
19
views
Link Error for QT for MSVC Build (Error 'lld-link' is not recognized as an internal or external command)
I am building a C++ project on QT6.3 and compiler is LLVM 64 bit MSVC 2019, getting link error as below Attached QT Kit configuration image
I have added C++ Clang Tools later for Windows from Visual ...
0
votes
0
answers
8
views
I can not figure how to add the drive size into this, Given the desired size of a new file, calculate how much the available disk size will be reduced
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QtMath>
#include <QMessageBox>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(...
0
votes
0
answers
35
views
ASSERT: "i >= 0 && i < size()" in file Qt/6.2.4/mingw_64/include/QtCore/qstring.h
i am a noob in Qt, when a push a particular push button, the project window closes and shows this error:
ASSERT: "i >= 0 && i < size()" in file Qt/6.2.4/mingw_64/include/...
0
votes
0
answers
38
views
QtCreator 7.0.0 crashes with Qt version 5.15.2
I am QtCreator 7.0.0 for my Android developments. I am able to execute the app on QtCreator when I select version 5.12.9 for compilation. However, when I switch to Qt 5.15.2 as soon as I hit execute ...
0
votes
0
answers
14
views
How to use .pdf name and location as you want using Qt-creator
I save it as a normal pdf, for example, I save it with the date, but I want to be able to save the name and the location I want on the message screen, not in the program as I want, how can I do it?
...
0
votes
0
answers
35
views
How to call makefile in C++ file in Qt Creator?
Enviroment: Ubuntu
I have a C++ project with some classes and with a main function, it has a makefile.
If I use "make" command from terminal I got a proper executable file, my makefile looks ...
0
votes
0
answers
14
views
libpcap-dev doesnt worked in Qt Creator (C++, qt)
Im trying to compile the project in QT Creator with libpcap-dev.
Before that I have done:
sudo apt install libpcap-dev
However, the compiler throws a bunch of errors at the output:
screenshot
...
0
votes
0
answers
29
views
Not able to run Lottie animations on PyQt5 QML
Downloaded a bunch of lottie animations from https://lottiefiles.com.
Trying to run these lottie animations on PyQt5 QML and i get an error on Qt Creator:
qt.lottieqt.bodymovin.parser: assets not ...
0
votes
1
answer
54
views
QtCreator: Header files not found when using CMake
I have tried this on multiple platforms, experiencing the same issue every time.
I successfully build and run my C++ OpenFrameworks application using QtCreator - no problems are encountered.
Then, I ...
0
votes
2
answers
48
views
Save a captured image using QCameraImageCapture::capture() in PNG Format
this is literally my first question in a forum.
So I'm a Qt newbie and I'm stuck at this little detail.
I'm creating this application that takes pictures and saves them, but the issue is that it saves ...
1
vote
1
answer
49
views
Cannot find feature windows_vulkan_sdk in qt
I have newly installed Qt and when I tried to open my projects and have not even tried to compile, I got this mysterious cannot find feature windows_vulkan.
My QT has been working earlier but I had to ...
0
votes
0
answers
14
views
QTCreator under MSYS/Mingw - "Unable to create a debugging engine."
I cannot debug my C++ project in QTCreator.
I am running MSYS2/Mingw version:
MINGW64_NT-10.0-19044 version 3.3.4-341.x86_64 (runneradmin@fv-az448-481) (gcc version 11.2.0 (GCC) )
I am running ...
0
votes
0
answers
30
views
Enable a button after another is clicked QtCreator
I want to enable the access to two QPushButton which are in the same class after i've clicked on another QPushButton which is in a different class. Is this possible ? I have tried many things none ...
0
votes
0
answers
18
views
Qt Creator autocomplete values for a global qml object in a file which is loaded by Stackloader?
So in QML, I can declare a stackview like this:
ApplicationWindow {
Item{
id: globalObject
specialProperty: "xyz"
}
StackView{
id: sv
}
}
Then I have ...
0
votes
0
answers
30
views
How to add external library (ODE) to OpenFrameworks QTCreator application (C++)
I'm trying to make a small graphical simulation using Open dynamics engine and Open Frameworks for my University course and I'm having trouble adding an external library to my make/config.make file ...
0
votes
1
answer
21
views
QtCreator issues ld: warning: directory not found for vcpkg Qt
I installed Qt5 with vcpkg on macOS Catalina. And installed QtCreator using the online installer.
Then on QtCreatpr, Preferences, Kits, Qt Versions I added qmake from both
/Users/user/vcpkg/installed/...
0
votes
0
answers
29
views
Qt Creator - C++ - QLabel not displaying image on mainwindow
I'm currently working on reviving an old project and can't get an image to display on the QLabel as it used to. This is a small trip advisory app that uses Dijkstra's Algorithm to calculate the ...
1
vote
1
answer
37
views
How to add hovered event for QPushButton in Qt Creator?
I'm creating a project in Qt Creator.
I wanna add hovered event for a QPushButton which is created in design mode.
But when I'm clicking go to slot option (which shows available events) i can't see ...
0
votes
1
answer
62
views
CMake :Error in configuration process, project files may be invalid
I am new to cmake. I am trying to build opencv using cmake 3.7.2 (64 bit)to be used in Qt.
I am working on a windows 10 64 bit system.
I have followed the steps given in the link:
https://wiki.qt.io/...