Questions tagged [qt-creator]
Qt Creator is a comprehensive open source C++ IDE which is part of the Qt Project.
4,930
questions
0
votes
0
answers
23
views
Qt Custom Popups/Widgets
When I press a button, I want these to be accomplished:
Open a rectangle like a container
Have two QLabels : Title & Description
For example, something like this:
diagram
I tried to use the ...
0
votes
0
answers
26
views
Make a normal-looking project tree view in Qt Creator(VS)
I'm looking for a way to make a normal looking tree view for a project that includes a lot of modules, static libraries, and several executable projects.
For example, there are 10 static libraries, ...
-2
votes
0
answers
45
views
Qt .pro file not detecting existing files
I wish to import Hough Circle Transformation into my Qt project, so currently I'm trying to run the library.
I followed every step listed here until I'm currently at the last step at modifying the ....
-1
votes
1
answer
41
views
How to switch off output logs relating style sheet?
When I run my application, I have many extra logs in Qt Creator "Application Output" tab:
[qss_ld] "loading style sheet file \"titlebardockinactive.qsse\"."
[qss_ld] &...
0
votes
1
answer
36
views
Can't setup Qt Quick application with Qt 5.14
I upgraded my Qt Creator to version 11, but now I can't set up any Qt Quick projects since the wizard to set it up allows minimum Qt version 6.2, 6.4 or 6.6.
Is it not possible to set up a Qt Quick ...
0
votes
1
answer
24
views
QT Creator - ModuleNotFoundError: No module named 'PySide6' : CONSOLE ERROR
whenever i try to run my ui file on QT Creator, it says:
ModuleNotFoundError: No module named 'PySide6'
enter image description here
It was working, I did projects before but I upgradeded some stuff ...
0
votes
0
answers
27
views
How to make Qt Creator show cmake target_include_directories?
Working with fairly recent versions of CMake, I like to use target_include_directories. However, when I just do this, Qt Creator will not display any header files.
How can I write a CMakeLists.txt ...
0
votes
1
answer
32
views
A file not protected by signature. Unauthorized modifications to this JAR entry will not be detected
I get the following messages while signing my Android app package:
Signing file D:/dev/repos/examples/src/MyApp/build-MyAppQt-Android_Qt_6_6_0_arm64_v8a_release_Clang_arm64_v8a-Release/android-build//...
-1
votes
0
answers
28
views
QT project into 32bits executable [closed]
I have been working in a new company for a few weeks. I am learning the tools they were using.
I need to compile a QT creator project into a 32bit executable, for a Raspberry PI.
This have already be ...
-1
votes
1
answer
51
views
Qt Creator context menu covers all content
After Qt Creator was updated to version 12.0.0, new items were added to the context menu and the following artifact appeared:
Context menu bug:
As you can see in the screenshot, the context menu now ...
1
vote
1
answer
89
views
how to change the color configuration of QtCreator/QtDesigner
The selected widget on left UI will have a grey background color at the right widgets list (just like the highlight of current line).
The colors are too similar that I can hard to distinguish them.
...
0
votes
1
answer
33
views
undefined reference to cv::aruco::getPredefinedDictionary(cv::aruco::PredefinedDictionaryType)
I'm trying to make a program in Qt that receives an image from TCP and then finds an ArUco marker inside of it.
Everything works fine except for the ArUco library. Once I added a simple line defining ...
1
vote
1
answer
44
views
QtCreator incorrect marks Qml syntax
I use QtCreator 5.0.2 with Qt 5.15.2. I created simple QML program
import QtQuick 2.15
import QtQuick.Window 2.15
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello ...
0
votes
1
answer
43
views
Why QML debugging is not working when resource file .qrc is imported from a static library
I have a set of .qrc files populated inside a static library project.
In the application project I initialize the resource as follows:
QGuiApplication app(argc, argv);
Q_INIT_RESOURCE(base);
...
-1
votes
0
answers
10
views
I am getting error during installation of qt-creator
I have done all things what can I do like I have checked my internet connection and reinstall all file in my device and so on. But still it is giving me same error.
first
second image
If it can be ...
1
vote
0
answers
21
views
Disabling gsettings keyboard shortcuts in a RHEL systemd service using a bash script
I am writing a screen locking utility using:
Red Hat Enterprise Linux 7.6
Qt Creator
C++
The user is not supposed to be able to use any keyboard shortcuts while on the lockscreen.
So far I have been ...
0
votes
0
answers
14
views
Qt Creator Can not Auto-Complete Standard C++ without Plugin ClangCodeModel
I use Qt5.14.2 and my QtCreator's version is 10.0.2. My pc OS is Debian.
When I enable the plugin ClangCodeModel it can auto-complete code but it is so slowly. Without the plugin ClangCodeModel it ...
1
vote
0
answers
43
views
Breakpoint in a static lib doesn't work if the function is called indirectly
I'm developing an application that uses Qt5, CMake for build, and QtCreator as IDE.
The project consists of a SDK static library, a core shared library that uses functions from SDK library, and two ...
0
votes
0
answers
15
views
TIFF file read as cv::Mat imported to vtkImageData makes program crash (Qt C++)
I am using opencv to apply CLAHE to a grayscale image and then vtk for furthur processing. This used to work fine for RAW images. But when same was tried for TIFF image, no operation can be performed ...
-1
votes
0
answers
45
views
How can I Align an Item to Right in a QListWidget?
I have an QListWidget which is displaying a custom class of a QLabel
I need to set the direction for this specific class, meaning that the list will contain items displayed both in the Right and in ...
1
vote
0
answers
49
views
yocto Qt creator libpthread.so.0: undefined symbol: _dl_make_stack_executable, version GLIBC_PRIVATE
I am trying to build Qt apps for my yocto setup using qt creater, but when I Run Qmake I get this error,
/opt/poky/3.1.28/sysroots/x86_64-pokysdk-linux/usr/bin/qmlcachegen: symbol lookup error: /opt/...
0
votes
1
answer
49
views
How may I call a GUI function from an external thread on QT Creator?
I read some topics, and now I know I have to use Signals and Slots, but I'm having some trouble doing it.
At my user interface I have a Q List Widget and I need to add items to it from another thread; ...
0
votes
0
answers
31
views
QT screen crashes after executing OpenCV function 'VideoWriter.open'
I'm using the QTCreator IDE to create my screens, in addition to that, I'm using the OpenCV library to capture frames from my webcam and display them in the QLabel of the QT screen. When clicking the ...
0
votes
1
answer
122
views
Unknown module(s) in QT: serialport
I use Qt Creator 10.0.1 with Qt 6.5.1 version. I installed QtSerialPort version 6.5.2 from the maintenance tool.
I've added QT += serialport to my .pro file but I get the "Unknown module" ...
0
votes
0
answers
20
views
QT multicast sender doesnt multicast message through IPv4 but works fine with IPv6
I am trying to multicast a message to ip address "239.255.43.21". I build the QT-creator example project "Qt\Examples\Qt-5.15.2\network\multicastsender". When I run the code it ...
1
vote
0
answers
44
views
Qt Creator incorrect indentation after åäö
I have been using Qt Creator and C++ for many years, but recently the auto indentation has begun to fail if the previous line contains a Swedish character, e.g. å.
Below is an example. I have selected ...
0
votes
0
answers
39
views
A proper way to init libqgit2 for QtCreator on macOS
I am a newbie to Qt development and trying to set up a dev environment on macOS with libqgit2.
I installed Qt Creator, created a blank project (CMake build system), downloaded libqgit from github and ...
0
votes
0
answers
43
views
Transparent window isn't transparent
I have a window which should be transparent, then I have popups on top of the window. In the corners you can see a white background.
Tried changing the flags, color etc. to no avail.
Anyone know what ...
0
votes
1
answer
48
views
Debug external library with qtcreator: navigate with debugger in sources instead assembler
I have CMake project in qtcreator and live555 opensource library imported with conan package manager. Qtcreator's debugger show me this error: live555 crash
I want to navigate inside live555's source ...
0
votes
0
answers
27
views
How do I link the CGAL_USE_BASIC_VIEWER in a qt creator project builded with cmake?
I need to make an application that draws a Voronoi diagram given a set of points, for this I plan to use CGAL.
It asks me to add the "CGAL-Qt5" installation prefix to the folder in which one ...
0
votes
0
answers
23
views
Is it possible to add an arbitrary folder to the current project In Qt Creator?
I have a project in Qt Creator. I want to debug the behavior of interaction with other project. Let's say I am launching dolphin (file manager), and want to add breakpoints in the ark's (archiver) ...
0
votes
0
answers
306
views
Cant change version of Boost when building in QT Creator
Im trying to build Fritzing using the instructions here:
https://github.com/fritzing/fritzing-app/wiki/1.-Building-Fritzing
Here:
https://siytek.com/build-fritzing-windows/
And here:
https://www....
0
votes
1
answer
63
views
Bug when app runs with Qt Creator and ubuntu
When app runs with Qt Creator and Ubuntu and terminal with corresponding program is open, I can not open/edit any file of current project with Qt Creator.
If change tick Run in internal terminal it ...
0
votes
1
answer
64
views
Why doesn't qDebug output anything after clicking the button
I'm trying to implement one thing with signals and slots, and the problem arises that after pressing the button nothing happens, although the path to the file should be displayed. The button is made ...
0
votes
0
answers
30
views
GSL and cmake, undefined references to function
I have a big project and now I need to include some functions from GSL.
This is my CMakeFile I run under QtCreator
project(numerics LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(...
0
votes
0
answers
31
views
Qt application with FMOD audio library crashes on launch on Android
I made an example that works on desktop when I build it to EXE but crashes when I run APK on smartphone. I use 2.02.16 API version, JDK 17, NDK 22, Qt 6.2.4, and Redmi 4x (Android 7)
Settings:
QT ...
0
votes
1
answer
79
views
QTextStream not outputting in sequential order
When I run the basic Qt code in the below snippet, which is supposed to output "Please enter your name: ", wait for me to enter my name, and then print "Hello < name >", both ...
0
votes
0
answers
110
views
How to create .exe from QT Design Studio project?
I want to create an animation on QT Design Studio application and generate an executable file that will play it. I can export the project with cmake build files or as a deployable project.
Where ...
1
vote
1
answer
60
views
Qt resize image in QGraphicsView in resizeEvent
I have this code:
void MainWindow::on_pushButton_clicked() //displaying an image by clicking the button
{
if (ui->graphicsView->scene() != NULL)
ui->graphicsView->scene()->...
0
votes
0
answers
14
views
undefined reference to Naoqi AL components in qt creator
I am writing my own walking controller for a Nao 5. My QT Creator does recognize that I have alcommon installed and available, since it suggests all of the components while I am coding.
However when I ...
2
votes
1
answer
78
views
How to turn off unicode flag in g++ in QT Creator?
When I compiling some project I see command like
g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -Wextra -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -...
0
votes
0
answers
64
views
How to add old version Qt Multimedia Module to qt 5x manually?
I've been dealing with a github project for 5 days. The project was done a few years ago. But one feature of this project was made with an old version of QtMultimedia. Currently not working. I found ...
0
votes
0
answers
28
views
is implicitly deleted because the default definition would be ill-formed
I'm trying to finish the assignment 1 for CS106B. But after downloading this project, I found that it can't run properly on Qt Creator. The error messages after compilation are as follows.
D:\Qt ...
0
votes
1
answer
49
views
How to deploy qt application using Qt c++
enter image description here
I'm trying to deploy my Qt c++ project.I build it successfully and can also execute it on Qt-Creator.
However, I can't execute the binary directly in the release folder ...
0
votes
0
answers
66
views
Can't add jsoncpp library in Qt Creator
I've installed jsoncpp via vcpkg. I tryed to add the library in Qt Creator by Right click->Add library and selecting path to jsoncpp.lib, but I get
No rule to make target 'E:/Qt/projects/test/../.....
0
votes
0
answers
42
views
Error in dynamic link in linux in QtCreator C++
I'm new in developing shared object, so don't have some knowledge of these.
I made simple shared object that use another (libmodbus).
Used next commands to compile my library:
g++ -fPIC -c -o modbus-...
0
votes
0
answers
24
views
Branch names not matching using QtCreator and Git (GitHub)
I have embarked on moving my project into the git environment for version control, moving from a manual system of change logging.
I have set up a GitHub account, cloned the repository to my local ...
0
votes
0
answers
50
views
Qt Quick Application problem with version
I'm trying to create a simple new project with Qt Creator (open source) that I just installed (so clean installation) but when I try to create a new project (in particular a Qt Quick Application) I ...
2
votes
1
answer
4k
views
Ubuntu 22.04 & Qt 6.5 : qt.qpa.plugin Could not load the Qt platform plugin "xcb" in "" even though it was found
As I installed Ubuntu 22.04 and Qt 6.5.2, I encountered an error that prevented any of my projects from running, and it did not display the output as expected.
qt.qpa.plugin: Could not load the Qt ...
-1
votes
1
answer
114
views
How to convert QGuiApplication to QApplication in QtCreator 10 with Qt 6?
I'm trying to use PolarChartView but when I run my code , my application crashed and the qt creator just tells me application crashed. I searched and I found out that I have to convert QGuiApplication ...