All Questions
13 questions
2
votes
1
answer
84
views
Incorporating CGAL into an existing QT6 project
I have a QT6 project with a .pro file and I want to include the CGAL libraries I saw in a StackOverflow question where a person asked the same question but in linux and I can't find the libs folder in ...
0
votes
0
answers
45
views
error running example qt applications on a remote linux device (v3s in this case)
I'm trying to run a sample qt application on a v3s with Linux ARMHF architecture.
I've successfully built a qt version 6.4.2 and add ARMHF compilers with cmake version 3.28.3
the v3s kit looks like ok ...
0
votes
0
answers
56
views
qt6-make make: *** No rule to make target 'mainwindow.ui', needed by 'ui_mainwindow.h'
I made a simple QT gui application through QTCreator. It is running well on my Linux 20.04
Now, I want to build this application in yocto to make it run on imx8mp board.
I have created a hello-gui_1.0....
0
votes
0
answers
108
views
Qt6 custom plugin cannot be loaded
I am working on upgrade our lib from QT5,12 to Qt6.5
And I still build our plugins using Qmake.
After compile our plugin and install the plugin using bitrock, I got the error below:
loading error
The ...
0
votes
1
answer
111
views
Why is qmake6 generating graphics related includes for QCoreApplication?
I'm using QT 6.6.1 qmake 3.1 with the following project config:
QT += core network
LIBS += -lssl -lcrypto -lsystemd
However qmake6 generates:
INCPATH = -I. -I/usr/include/qt6 -I/usr/...
0
votes
1
answer
21
views
How to copy built DLL from one SUBDIR to another?
I have following project architecture
project.pro
|
|--app.pro
|
|--lib1.pro
|
|--lib2.pro
lib1 is a shared library. lib2 depends on lib1.
app depends on lib1 and lib2
project.pro:
SUBDIRS = \
...
0
votes
1
answer
286
views
Why QtCreator (qmake) links to different libraries than the ones listed on Kit's Qt version?
I am trying to compile my Qt application and package it for distribution on QtCreator using qmake.
I have a single Kit, configured (whole config details on the table below) to link to the Qt libraries ...
8
votes
1
answer
2k
views
Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString) error
I was trying to follow a Qt tutorial but I get this error:
Could not connect "org.freedesktop.IBus" to globalEngineChanged(QString)
which I don't understand, my code seems fine enough so I ...
0
votes
2
answers
241
views
How to add C++ QQuickPaintedItem in QML
I want to add C++ class like this notchedrectangle.hpp to QML:
#ifndef NOTCHEDRECTANGLE_HPP
#define NOTCHEDRECTANGLE_HPP
#include <QtQml/qqmlregistration.h>
#include <QQuickPaintedItem>
...
0
votes
1
answer
898
views
Building Qt6 project - QMAKE_CXX.COMPILER_MACROS not defined
I'm building a Qt6 project using the following command
~/Qt/6.3.1/gcc_64/bin/qmake -o ~/nidb/bin/smtp/Makefile ~/nidb/src/smtp/SMTPEmail.pro -spec linux-g++
And it generates this error...
~/Qt/6.3.1/...
2
votes
0
answers
471
views
Qt6 qmake for ios generates incorrect paths to standard libraries
I am migrating a mobile project from Qt 5.14.2 to Qt6.3.1. There was no such problem when using Qt 5.14.2.
after executing this command
$qt_root/ios/bin/qmake \
$proFile \
-r -spec macx-ios-...
0
votes
0
answers
111
views
file path in QT pri file via function
I am creating a function in a .pri file that will be included in a .pro file with the intent of being able to do:
template(subdirs)
addMyProject(libA)
addMyProject(libB)
addMyProject(libC)
instead of
...
0
votes
1
answer
1k
views
What is equivalent of qmake (.pro file) CONFIG -= console in CMAKE [duplicate]
I have build QML application and run it. But besides of GUI running console. I know how switch off console in qmake (.pro file) CONFIG -= console. But I do not understand how it works in CMake? I ...