56 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
23
views
QML StackView navigation issue with dropdown menu (wrong back stack + slow transition)
I’m using StackView in QML for screen navigation. Normal navigation works fine when moving sequentially (Dashboard → Screen 1 → Screen 2, etc.).
However, I also have a dropdown menu on the Dashboard ...
0
votes
2
answers
130
views
Qt QML on VS Code complains about having correct corresponding revisions
The Qt Qml extension on VS Code keeps reporting:
/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick.2/plugins.qmltypes:(row):(column): Meta object revision and export version differ.
Revision (x) corresponds ...
0
votes
1
answer
489
views
How to configure QT 5.15.16 to use C++20 instead of С++17?
I am trying to use C++20 with Qt, but no matter what I do, it always defaults to C++17.
Here is the relevant part of the output after configuration:
# head config.summary
Build type: linux-g++ (x86_64,...
1
vote
1
answer
92
views
Can't get data from qml
I need to get data for further use in c++, but it gives me errors:
QObject::connect(QQuickWindow, QDeclarativeGeoMap): invalid nullptr parameter
QObject::connect(QQuickWindow, QDeclarativeGeoMap): ...
0
votes
1
answer
207
views
Build Qt 5.15.15 for android, error crtbegin_so.o, ... not found
I need to build Qt 5.15 for android, I am on Ubuntu 22.04.3 LTS (GNU/Linux 5.15.153.1-microsoft-standard-WSL2 x86_64).
I installed all the necessary, android SDK api 31, ndk r21e, ... but I finally ...
0
votes
1
answer
275
views
Warning failed to resolve include moc_predefs.h - VS2022 Qt5.15.2
I have a project written in Visual Studio 2022 c++ with Qt5.15.2 (x64).
It comiles and works just fine.
During compilation I get a warning for each widget-derived-class in my project.
Moc'ing ...
0
votes
1
answer
100
views
What should I do to use a QTreeView child to select a subset of data in a model to show it in a QTableView?
Here I'm trying to create an Qt model/view that shows different subsets of data in a table view from a model depending of the child selected/clicked in the QTreeView, but I'm new at this and the ...
0
votes
1
answer
210
views
Exporting constants to QML
Hellow, everyone. I apologize in advance for my English.
Could someone help me? I don't understand why this is happening and what I'm doing wrong.
I have a separate class with static constants (...
1
vote
1
answer
59
views
How to detect the type of data or file being sent in QBluetoothSocket?
I was building a bluetooth controlled display using Qt and raspberrypi.The raspberrypi will have a bluetooth service running on it and when I connect to the BluetoothServer. The user can choose to ...
0
votes
1
answer
191
views
QT Path for Omnet++ in ubuntu 22
I am getting the following error in Omnet++ 6.0.1:
/home/dice/Mohsan_Simulatiom_directory_C2JN_project/softwares_/omnetPP_distribution/omnetpp-6.0.1/samples/microservicesapiplacement_6_22_2023/src/...
1
vote
2
answers
14k
views
QT 5.15.11 installer [closed]
How to get installers for Qt version 5.15.11 or similar?
I know that 5.15.x is a LTS branch and the latest patches are sent only to the ones with a commercial license. But I saw that sources for other ...
1
vote
1
answer
169
views
Why does std::prev() applied to a QSet<int*> iterator give me a segfault?
I have Debian 11 amd64, Qt 5.15.2, and try to use std::prev(it.end()) to get the last element in a QSet, like this:
#include <QSet>
int main() {
return *(int*)(*(std::prev(QSet<int*>({...
0
votes
0
answers
81
views
Qtdesigner connection between MainWindow and multiple Forms
I am new to Qt, and trying to build Gui.
I have a simple question but i can't find any answer to it.
My Gui consist of MainWindow and some number of Forms.
Gui should work as follows:
Where is a ...
0
votes
1
answer
138
views
In qt5.15 qml how to deal with Native Function Exposure and JavaScript-to-Native Communication(caling a native function) using qml Webview
So I am using qt5.15.3 with qml and trying to handle Native Function Exposure and JavaScript-to-Native Communication
First I need to clarify my question
For example like in Java we have:
// In your ...
1
vote
0
answers
2k
views
Integrate a gstreamer pipeline under Qt 5.15.2 using Qt QML
Pre-requisites:
Gstreamer 1.16.1
Qt 5.15.2
Target Device: imx8 with Yocto
I'm trying to visualize a camera stream inside an item on one of our pages. For this purpose, we transmit the camera stream ...