Quantcast
Channel: Installation and Deployment
Viewing all 22112 articles
Browse latest View live

[[qanda:topic_unsolved]] Test the Python QT program on MacOS

$
0
0
Hi Did you install VMware tools ? https://kb.vmware.com/s/article/1032440 Without them, it runs like very badly. There are no other options than to use MacOs.

[[qanda:topic_unsolved]] Build Issue; Updating to Android 10

$
0
0

Hello,

I'm updating a QT application that was previously working with Android 7.1.1 and ndk 13b to Android![alt text](image url) 10. I'm getting the following message when I try to compile:

The API level set for the APK is less than the minimum required by the kit.
The minimum API level required by the kit is 21.
Error while building/deploying project servicetool (kit: Android for armeabi-v7a,arm64-v8a,x86,x86_64 (Clang Qt 5.14.1 for Android))
When executing step "Build Android APK"

I've used the SDK manager that comes with Android Studio to download SDK10 and the NDK. I updated my manifest file to have minimum sdk required = API 21 and target sdk = API 29.
manifest

Android Build SDK in Build Android APK is set to android-29.
APK

And under Devices -> Android I have it pointing to the proper location of my SDK and NDK.
SDKNDK

Not sure what I'm missing. Any help would be greatly appreciated.

[[qanda:topic_unsolved]] qt-unified-windows-x86-3.2.3-online fails immediately

$
0
0
@SGaist I guess I am just lucky :-), though my luck never works on lottery tickets :-(

[[qanda:topic_unsolved]] QMYSQL driver not loaded - cross compiling for Raspberry PI 3

$
0
0
@KroMignon When I tried to install those packages I got information that mariadb counterparts are available. So I tried to install them and it appeared that libmariadb-dev-compat,libmariadb-dev I already had, but libmariadbd-dev I didn't have so I installed it. How can I cross-compile the plugin?

[[qanda:topic_unsolved]] QApplication, QLabel : no such file or directory

$
0
0
Hi and welcome to the forums If you see older examples for Qt, sometimes the includes are no longer valid. Often you can just remove first part of it #include <QtWidgets/QApplication> ---> #include <QApplication> and then it works.

[[qanda:topic_unsolved]] qt for android building error Mac

$
0
0

Hello , I wanted to create an arduino app and wanted to start to test the qt for Android
But I am getting some errors during the build.

First of all , I have a Macbook Catalina 10.15.4
I had no problems with qt creator

I have installed java jdk 8 and as well as 13 ( I tested both)
I installed gradle, Android NDK r21d and Android Studio ( newest version )
with following packagesScreenshot 2020-07-07 at 19.58.16.png Screenshot 2020-07-07 at 19.58.01.png Screenshot 2020-07-07 at 19.57.47.png

I get the following building errors

Screenshot 2020-07-07 at 20.01.16.png Screenshot 2020-07-07 at 20.01.27.png

As I said, I have tried it with both Java Jdk's

Does anyone know what I can do against this? I have deployed the emulator with an x86 architecture ,maybe this is the error?

Thanks

[[qanda:topic_unsolved]] Static Qt 5.12.6 build on Ubuntu 18.04 - dreaded 'qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""' error

$
0
0
@Skhms-E if I remember correctly it was fixed with the next Qt 5.12.7 update since it was a bug in Qt's build configuration. If you still get the bug then one of your build options. Below is part of my discussion with Qt support on this topic: I looked in both files and didn't see an obvious failure the anything relating to XCB. I've attached files. It doesn't list QPA modules that are not going to be built and that doesn't seem to be listing XCB under there. In config.log it looks like xcb libraries are found, but xkbcommon is not which is one of the dependencies for it: looking for library xkbcommon Trying source 0 (type pkgConfig) of library xkbcommon ... /usr/bin/pkg-config --exists --silence-errors xkbcommon '>=' 0.5.0 pkg-config did not find package. => source produced no result. Trying source 1 (type inline) of library xkbcommon ... None of [libxkbcommon.so libxkbcommon.a] found in [] and global paths. => source produced no result. test config.qtbase_gui.libraries.xkbcommon FAILED You can probably just install libxkbcommon-dev package, then rerun configure with -recheck-all as an additional option to force it to recheck all features.

[[qanda:topic_unsolved]] Attempting to build QT from source for I.MX 8 Nano Debian.

$
0
0

My build steps are below they are failing at the make portion with the following error.

/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/bin/rcc -name mimetypes mimetypes/mimetypes.qrc -o .rcc/qrc_mimetypes.cpp
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -c -include .pch/Qt5Core -pipe -march=armv8-a -mtune=cortex-a72.cortex-a53 -DLINUX=1 -DEGL_API_FB=1 --sysroot=/home/agarza/working/sysroot -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I../../include -I../../include/QtCore -I../../include/QtCore/5.14.2 -I../../include/QtCore/5.14.2/QtCore -I.moc -I.tracegen -I../3rdparty/pcre2/src -I../../mkspecs/devices/linux-imx8-g++ -o .obj/qrc_mimetypes.o .rcc/qrc_mimetypes.cpp
/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 --include /home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib/.moc/moc_predefs.h -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/mkspecs/devices/linux-imx8-g++ -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib/global -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/md5 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/md4 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/sha3 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/harfbuzz/src -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/forkfd -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/tinycbor/src -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore/5.14.2 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore/5.14.2/QtCore -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1 -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1/aarch64-linux-gnu -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1/backward -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/6.3.1/include -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/6.3.1/include-fixed -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -I/home/agarza/working/sysroot/usr/include/aarch64-linux-gnu -I/home/agarza/working/sysroot/usr/include time/qcalendar.h -o .moc/moc_qcalendar.cpp
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -c -include .pch/Qt5Core -pipe -march=armv8-a -mtune=cortex-a72.cortex-a53 -DLINUX=1 -DEGL_API_FB=1 --sysroot=/home/agarza/working/sysroot -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I../../include -I../../include/QtCore -I../../include/QtCore/5.14.2 -I../../include/QtCore/5.14.2/QtCore -I.moc -I.tracegen -I../3rdparty/pcre2/src -I../../mkspecs/devices/linux-imx8-g++ -o .obj/moc_qcalendar.o .moc/moc_qcalendar.cpp
/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 --include /home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib/.moc/moc_predefs.h -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/mkspecs/devices/linux-imx8-g++ -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib/global -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/md5 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/md4 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/sha3 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/harfbuzz/src -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/forkfd -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/tinycbor/src -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore/5.14.2 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore/5.14.2/QtCore -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1 -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1/aarch64-linux-gnu -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1/backward -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/6.3.1/include -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/6.3.1/include-fixed -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -I/home/agarza/working/sysroot/usr/include/aarch64-linux-gnu -I/home/agarza/working/sysroot/usr/include kernel/qobjectdefs.h -o .moc/moc_qobjectdefs.cpp
kernel/qobjectdefs.h:0: Note: No relevant classes found. No output generated.
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -c -include .pch/Qt5Core -pipe -march=armv8-a -mtune=cortex-a72.cortex-a53 -DLINUX=1 -DEGL_API_FB=1 --sysroot=/home/agarza/working/sysroot -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I../../include -I../../include/QtCore -I../../include/QtCore/5.14.2 -I../../include/QtCore/5.14.2/QtCore -I.moc -I.tracegen -I../3rdparty/pcre2/src -I../../mkspecs/devices/linux-imx8-g++ -o .obj/moc_qobjectdefs.o .moc/moc_qobjectdefs.cpp
/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/bin/moc -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 --include /home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib/.moc/moc_predefs.h -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/mkspecs/devices/linux-imx8-g++ -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib/global -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/md5 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/md4 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/sha3 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/harfbuzz/src -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/forkfd -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/3rdparty/tinycbor/src -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore/5.14.2 -I/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/include/QtCore/5.14.2/QtCore -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1 -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1/aarch64-linux-gnu -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include/c++/6.3.1/backward -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/6.3.1/include -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/lib/gcc/aarch64-linux-gnu/6.3.1/include-fixed -I/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -I/home/agarza/working/sysroot/usr/include/aarch64-linux-gnu -I/home/agarza/working/sysroot/usr/include mimetypes/qmimetype.h -o .moc/moc_qmimetype.cpp
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ -c -include .pch/Qt5Core -pipe -march=armv8-a -mtune=cortex-a72.cortex-a53 -DLINUX=1 -DEGL_API_FB=1 --sysroot=/home/agarza/working/sysroot -O3 -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -I. -Iglobal -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/harfbuzz/src -I../3rdparty/forkfd -I../3rdparty/tinycbor/src -I../../include -I../../include/QtCore -I../../include/QtCore/5.14.2 -I../../include/QtCore/5.14.2/QtCore -I.moc -I.tracegen -I../3rdparty/pcre2/src -I../../mkspecs/devices/linux-imx8-g++ -o .obj/moc_qmimetype.o .moc/moc_qmimetype.cpp
rm -f libQt5Core.so.5.14.2 libQt5Core.so libQt5Core.so.5 libQt5Core.so.5.14
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-g++ --sysroot=/home/agarza/working/sysroot -Wl,--no-undefined -Wl,--version-script,QtCore.version -Wl,-O1 -Wl,--enable-new-dtags -shared -Wl,-soname,libQt5Core.so.5 -o libQt5Core.so.5.14.2 .obj/minimum-linux.o .obj/qstring_compat.o .obj/qabstractanimation.o .obj/qvariantanimation.o .obj/qpropertyanimation.o .obj/qanimationgroup.o .obj/qsequentialanimationgroup.o .obj/qparallelanimationgroup.o .obj/qpauseanimation.o .obj/qendian.o .obj/qglobal.o .obj/qlibraryinfo.o .obj/qmalloc.o .obj/qnumeric.o .obj/qfloat16.o .obj/qoperatingsystemversion.o .obj/qlogging.o .obj/qrandom.o .obj/qhooks.o .obj/qversiontagging.o .obj/qrunnable.o .obj/qthread.o .obj/qthread_unix.o .obj/qatomic.o .obj/qmutex.o .obj/qreadwritelock.o .obj/qsemaphore.o .obj/qthreadpool.o .obj/qthreadstorage.o .obj/qwaitcondition_unix.o .obj/qexception.o .obj/qfutureinterface.o .obj/qfuturewatcher.o .obj/qresultstore.o .obj/qarraydata.o .obj/qbitarray.o .obj/qcryptographichash.o .obj/qfreelist.o .obj/qhash.o .obj/qline.o .obj/qlinkedlist.o .obj/qlist.o .obj/qpoint.o .obj/qmap.o .obj/qmargins.o .obj/qmessageauthenticationcode.o .obj/qcontiguouscache.o .obj/qrect.o .obj/qrefcount.o .obj/qringbuffer.o .obj/qshareddata.o .obj/qsharedpointer.o .obj/qsimd.o .obj/qsize.o .obj/qversionnumber.o .obj/qcommandlineoption.o .obj/qcommandlineparser.o .obj/qeasingcurve.o .obj/qtimeline.o .obj/qbytearray.o .obj/qbytearraylist.o .obj/qbytearraymatcher.o .obj/qcollator.o .obj/qlocale.o .obj/qlocale_tools.o .obj/qregexp.o .obj/qstring.o .obj/qstringbuilder.o .obj/qstringlist.o .obj/qstringview.o .obj/qtextboundaryfinder.o .obj/qunicodetools.o .obj/qvsnprintf.o .obj/qlocale_unix.o .obj/qcollator_posix.o .obj/qregularexpression.o .obj/harfbuzz-buffer.o .obj/harfbuzz-gdef.o .obj/harfbuzz-gsub.o .obj/harfbuzz-gpos.o .obj/harfbuzz-impl.o .obj/harfbuzz-open.o .obj/harfbuzz-stream.o .obj/harfbuzz-shaper-all.o .obj/qharfbuzz.o .obj/qdatetime.o .obj/qcalendar.o .obj/qgregoriancalendar.o .obj/qjuliancalendar.o .obj/qmilankoviccalendar.o .obj/qromancalendar.o .obj/qhijricalendar.o .obj/qislamiccivilcalendar.o .obj/qjalalicalendar.o .obj/qtimezone.o .obj/qtimezoneprivate.o .obj/qtimezoneprivate_tz.o .obj/qdatetimeparser.o .obj/qabstractfileengine.o .obj/qbuffer.o .obj/qdataurl.o .obj/qtldurl.o .obj/qdebug.o .obj/qdir.o .obj/qdiriterator.o .obj/qfile.o .obj/qfiledevice.o .obj/qfileinfo.o .obj/qipaddress.o .obj/qiodevice.o .obj/qlockfile.o .obj/qnoncontiguousbytedevice.o .obj/qstorageinfo.o .obj/qtemporarydir.o .obj/qtemporaryfile.o .obj/qresource.o .obj/qresource_iterator.o .obj/qsavefile.o .obj/qstandardpaths.o .obj/qurl.o .obj/qurlidna.o .obj/qurlquery.o .obj/qurlrecode.o .obj/qfsfileengine.o .obj/qfsfileengine_iterator.o .obj/qfilesystementry.o .obj/qfilesystemengine.o .obj/qfileselector.o .obj/qloggingcategory.o .obj/qloggingregistry.o .obj/qfilesystemwatcher.o .obj/qfilesystemwatcher_polling.o .obj/qfilesystemwatcher_inotify.o .obj/qprocess.o .obj/qprocess_unix.o .obj/qsettings.o .obj/qfsfileengine_unix.o .obj/qfilesystemengine_unix.o .obj/qlockfile_unix.o .obj/qfilesystemiterator_unix.o .obj/forkfd_qt.o .obj/qstandardpaths_unix.o .obj/qstorageinfo_unix.o .obj/qabstractitemmodel.o .obj/qitemselectionmodel.o .obj/qabstractproxymodel.o .obj/qconcatenatetablesproxymodel.o .obj/qidentityproxymodel.o .obj/qsortfilterproxymodel.o .obj/qtransposeproxymodel.o .obj/qstringlistmodel.o .obj/qfactoryinterface.o .obj/qpluginloader.o .obj/qfactoryloader.o .obj/quuid.o .obj/qabstracteventdispatcher.o .obj/qabstractnativeeventfilter.o .obj/qbasictimer.o .obj/qdeadlinetimer.o .obj/qelapsedtimer.o .obj/qeventloop.o .obj/qcoreapplication.o .obj/qcoreevent.o .obj/qmetaobject.o .obj/qmetatype.o .obj/qmetaobjectbuilder.o .obj/qmimedata.o .obj/qobject.o .obj/qobjectcleanuphandler.o .obj/qsignalmapper.o .obj/qsocketnotifier.o .obj/qtimer.o .obj/qtranslator.o .obj/qvariant.o .obj/qcoreglobaldata.o .obj/qsharedmemory.o .obj/qsystemsemaphore.o .obj/qpointer.o .obj/qmath.o .obj/qsystemerror.o .obj/qtestsupport_core.o .obj/qcore_unix.o .obj/qeventdispatcher_unix.o .obj/qtimerinfo_unix.o .obj/qelapsedtimer_unix.o .obj/qsharedmemory_posix.o .obj/qsharedmemory_systemv.o .obj/qsharedmemory_unix.o .obj/qsystemsemaphore_posix.o .obj/qsystemsemaphore_systemv.o .obj/qsystemsemaphore_unix.o .obj/qutfcodec.o .obj/qlatincodec.o .obj/qsimplecodec.o .obj/qtextcodec.o .obj/qisciicodec.o .obj/qtsciicodec.o .obj/qgb18030codec.o .obj/qjpunicode.o .obj/qeucjpcodec.o .obj/qjiscodec.o .obj/qsjiscodec.o .obj/qeuckrcodec.o .obj/qbig5codec.o .obj/qiconvcodec.o .obj/qcborstream.o .obj/qcbordiagnostic.o .obj/qcborvalue.o .obj/qdatastream.o .obj/qjson.o .obj/qjsoncbor.o .obj/qjsondocument.o .obj/qjsonobject.o .obj/qjsonarray.o .obj/qjsonvalue.o .obj/qjsonwriter.o .obj/qjsonparser.o .obj/qtextstream.o .obj/qxmlstream.o .obj/qxmlutils.o .obj/qstatemachine.o .obj/qabstractstate.o .obj/qstate.o .obj/qfinalstate.o .obj/qhistorystate.o .obj/qabstracttransition.o .obj/qsignaltransition.o .obj/qeventtransition.o .obj/qmimedatabase.o .obj/qmimetype.o .obj/qmimemagicrulematcher.o .obj/qmimetypeparser.o .obj/qmimemagicrule.o .obj/qmimeglobpattern.o .obj/qmimeprovider.o .obj/qrc_mimetypes.o .obj/moc_qcalendar.o .obj/moc_qobjectdefs.o .obj/moc_qmimetype.o  -lpthread -lm -lz -ldouble-conversion -L/home/agarza/working/sysroot/usr/lib/aarch64-linux-gnu -lpcre2-16   
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aarch64-linux-gnu/bin/ld: /home/agarza/working/sysroot/usr/lib/aarch64-linux-gnu/libpthread.a(pthread_create.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `__stack_chk_guard@@GLIBC_2.17' can not be used when making a shared object; recompile with -fPIC
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aarch64-linux-gnu/bin/ld: /home/agarza/working/sysroot/usr/lib/aarch64-linux-gnu/libpthread.a(pthread_create.o)(.text+0x4dc): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `__stack_chk_guard@@GLIBC_2.17'
/home/agarza/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/6.3.1/../../../../aarch64-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:1202: recipe for target '../../lib/libQt5Core.so.5.14.2' failed
make[3]: *** [../../lib/libQt5Core.so.5.14.2] Error 1
make[3]: Leaving directory '/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src/corelib'
Makefile:226: recipe for target 'sub-corelib-make_first' failed
make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving directory '/home/agarza/working/qt-everywhere-src-5.14.2/qtbase/src'
Makefile:50: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory '/home/agarza/working/qt-everywhere-src-5.14.2/qtbase'
Makefile:85: recipe for target 'module-qtbase-make_first' failed
make: *** [module-qtbase-make_first] Error 2
agarza@agarza-VirtualBox:~/working/qt-everywhere-src-5.14.2$ 
QT Build Steps.
1. ON the NANO Board 
     a. apt-get install sudo
     b. modify the hostname in both places to get rid of errors when using the sudo command.
     c. sudo apt-get update
     d. sudo apt-get upgrade
     e. sudo apt-get build-dep qt4-x11
     f. sudo apt-get build-dep libqt5gui5
     g. sudo apt-get install libudev-dev libinput-dev libts-dev libxcb-xinerama0-dev libxcb-xinerama0
     
2. On the UBUNTU PC
     a. create a working directory mkdir working.
     b. cd to working.
     c. Use file manager to copy full toolchain directory from debian build process to working directory.
3. On the NANO board.
     a. mkdir usr/local/qt5imx
     b. sudo chown pi:pi /usr/local/qt5imx
4. On The Ubuntu PC
     a. mkdir sysroot sysroot/usr sysroot/opt
     b. rsync -avz root@192.168.1.110:/lib sysroot
     c. rsync -avz root@192.168.1.110:/usr/include sysroot/usr
     d. rsync -avz root@192.168.1.110:/usr/lib sysroot/usr
     e. rsync -avz root@192.168.1.110:/usr/lib/aarch64-linux-gnu/vivante  sysroot/opt
     f. wget https://raw.githubusercontent.com/riscv/riscv-poky/master/scripts/sysroot-relativelinks.py
     g. chmod +x sysroot-relativelinks.py ./sysroot-relativelinks.py sysroot
     h. wget http://download.qt.io/official_releases/qt/5.14/5.14.2/single/ qt-everywhere-src-5.14.2.tar.xz
     i. tar xvf  qt-everywhere-src-5.14.2.tar.xz
     j. cd  qt-everywhere-src-5.14.2
     k. ./configure -release -device linux-imx8-g++ -device-option CROSS_COMPILE=~/working/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -sysroot ~/working/sysroot -opensource -confirm-license -skip qtlocation -skip qtscript -make libs -prefix /usr/local/qt5imx -extprefix ~/working/qt5imx -hostprefix ~/working/qt5imx -v -no-opengl
     l. make

[[qanda:topic_unsolved]] Create Linux Executable for Qt Application

$
0
0
@jsulm my application runs when I try it from qt creator but when I try to launch from file explorer, it doesn't work.

[[qanda:topic_unsolved]] Be able to develop in Ubuntu for i.mx 8 nano debian buster

$
0
0

Would like to cross compile for Arm64 on debian i.mx8 nano. What are the step by step instructions on the ubuntu development system and the i.mx8 I seem to have hit a wall.

[[qanda:topic_unsolved]] qtmqtt build on windows

$
0
0

Hello~
I want to use qtmqtt module for my application.

so I downloaded source code from below git
git://code.qt.io/qt/qt5.git

and I downloaded source code for qtmqtt
git://code.qt.io/qt/qtmqtt.git

I located qtmqtt below all gt5 source (qt5>qtmqtt)

I followed below stelp

$ perl init-repository
$ configure -developer-build -opensource -nomake examples -nomake tests
$ mingw32-make

When I check Makefile
It seems it's not include qtmqtt module

Is there any way to include qtmqtt submodule when I build whole source??

or I want to buile qtmqtt itself.
but I don't know how to build it .

Any helps..
Thanks~

[[qanda:topic_unsolved]] Issues setting up GCC 8.3.0 Cross Compiler to compile Qt 5.15 for Raspberry Pi 4

$
0
0

Hi!

I'm trying to cross-compile Qt 5.15.0 for a Raspberry Pi 4 and I'm having trouble with the toolchain.
I'm very new to cross-compiling (and compilation on Linux in general), so any advice would be appreciated.

My Setup:
Raspberry Pi 4: Pi OS (32-bit) May 2020 Version (Kernel 4.19)

Host: Ubuntu 20.04 LTS Running in VMWare Player

I've been mainly following these two guides:

  1. https://wapel.de/?p=641 (mainly following this - make failed due to an error related to C++11 not being enabled)
  2. https://www.interelectronix.com/de/qt-auf-dem-raspberry-pi-4.html (followed this to change the gcc compiler 8.3.0 to try fix above issue)

These are the key steps:

  1. Synced the folder structure using rsync
  2. Adjusted symlinks to be relative
  3. Downloaded the Qt 5.15 source files
  4. Downloaded the toolchain
    i. Initially downloaded from: https://github.com/raspberrypi/tools (GCC version was 4.7 or 4.8 I think)
    ii. After issues, downloaded the GCC Cross Compiler Toolchain(Buster) 8.3.0 from here: https://github.com/abhiTronix/raspberry-pi-cross-compilers#d-toolchain-binaries-downloads

I extracted the toolchain inside the tools folder (folder structure shown below).

I used these commands to modify the source files to allow me to use the new toolchain:

cp -R qt-everywhere-src-5.15.0/qtbase/mkspecs/linux-arm-gnueabi-g++ qt-everywhere-src-5.15.0/qtbase/mkspecs/linux-arm-gnueabihf-g++

sed -i -e 's/arm-linux-gnueabi-/arm-linux-gnueabihf-/g' qt-everywhere-src-5.15.0/qtbase/mkspecs/linux-arm-gnueabihf-g++/qmake.conf

I created a build directory outside the source folder.

This is what the folder structure roughly looked like on my Ubuntu VM:

raspi
├── build
├── qt-everywhere-src-5.15.0
│   ├── [Qt source files]
├── sysroot
│   ├── lib
│   ├── opt
│   └── usr
└── tools
   └── cross-pi-gcc-8.3.0-2
   │   ├── arm-linux-gnueabihf
   │   ├── bin
   │   ├── include
   │   ├── lib
   │   ├── libexec
   │   └── share

Now my issue is with the configure step. I run the following command from within the build folder to configure my build:

../qt-everywhere-src-5.15.0/configure -release -opengl es2 -device linux-rasp-pi4-v3d-g++ -device-option CROSS_COMPILE=~/raspi/tools/cross-pi-gcc-8.3.0-2/bin/arm-linux-gnueabihf- -sysroot ~/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/raspi/qt5pi -hostprefix ~/raspi/qt5 -no-use-gold-linker -v

However, this fails. This is what the last few lines of my config.log file looks like:

> /home/user_name/raspi/tools/cross-pi-gcc-8.3.0-2/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/user_name/raspi/sysroot -Wl,-O1 -Wl,-rpath-link,/home/user_name/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/user_name/raspi/sysroot/lib/arm-linux-gnueabihf -o verifyspec verifyspec.o      
> /home/user_name/raspi/tools/cross-pi-gcc-8.3.0-2/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find crt1.o: No such file or directory
> /home/user_name/raspi/tools/cross-pi-gcc-8.3.0-2/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: No such file or directory
> /home/user_name/raspi/tools/cross-pi-gcc-8.3.0-2/bin/../lib/gcc/arm-linux-gnueabihf/8.3.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lm
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:68: verifyspec] Error 1

From what I can understand, it's having issues using the gcc toolchain that I downloaded. When I tried using the tool chain I mentioned in step 4i above, configure worked perfectly, I just had issues with the build. I'm guessing I've missed a key step in configuring the GCC 8.3.0 cross-compiler for this project.

Could anyone point me in the right direction to fix this?

Thanks!

[[qanda:topic_unsolved]] Apparently successful build but missing modules

$
0
0
Abbendum: In the meanwhile I ran in the qtwebengine folder qtwebengine> qmake -r (in addition to configure/make in the qt toplevel source directory) and learned from the output that I had to install a couple of more packages like fontconfig, xrandr ( libXrandr-devel on this centos machine ) After the dependenciese where solved, qtwebengine was built and my problem seems to be solved. (I am just waiting for the compiler and will then mark this as solved).

[[qanda:topic_unsolved]] Can't use QT 5.12

$
0
0
@SGaist After some time without my pc, i finally got back, and I reinstalled ubuntu fresh, and the only thing i did was download QT from this link, and the same error still happens. If i try to do qmake --version, it says it's version 5.9.5, even tho QTcreator doesn't even have this option, since I only installed versions 5.12.9 and 5.15.0. So now i'm stuck again

[[qanda:topic_unsolved]] Qmake not included on Opensource 4.12.4?

$
0
0

Hi all,

I am new to QT Creator and I'm trying to do my final project for college which is a python app.
I've found that when I try to run the app, it's not loading images. After much reading of the forums I found I needed to update the .pro file with the res.qrc file details in order to do this.

however, when I went to find the .pro file, it didn't exist. Again, much reading later and I found that this is the file that Qmake needs in order to build the application, so I assumed that maybe I have to build the application instead of just run it. However, when I went to go and build it, all of the build options were grayed out. I then decided to go looking for qmake.exe directly and found it didn't exist. I looked for an add on or plugin for Qt Creator that might contain it and couldn't find anything.

I then tried re-installing the application a number of times, using the different on and off line installers and no change. There is no qmake included.

Interestingly when I go into build kits I find that the QT Version is blank. When I tried to point it to the installation of QT it says it needs to restart to link it and then when I get back in, there is no change.

Is this a known issue? is there a way around this?

any help would be appreciated.

Thanks


[[qanda:topic_unsolved]] QSslSocket HostNotFoundError QT 5.13

$
0
0

I developed small Qt App for sending mails over smtp 465 port. It works on my developer linux mint 19.2 machine. When I deploy the app with all the libs to Mint 17.3 machine I get QAbstractSocketError::HostNotFoundError. I am using QSslSocket.

If I deploy my app and libs to another linux mint 19.2 machine it works without any problems. So the problem is the difference in mint 19.2 and 17.3. I exhausted all my possibilities/ideas.

p.s.
The OpenSsl is the same installed on both machines! QSslSocket::sslLibraryBuildVersionString() shows 1.1.1b OpenSsl version- the same as installed on deploying machine.

[[qanda:topic_unsolved]] Unable to find the platform plugin.

$
0
0

Hi all,

I am unable to deploy my application while using Qt_5_15_0_MinGW_32_bit-Release version. For Qt_5_14_0_MinGW_32_bit-Release version also, I had faced a similar problem but this link helped me solve my issue as they gave a link to a new windeployqt executable. Can i find a solution for the latest QT Version also?

[[qanda:topic_unsolved]] qt.qpa.xcb: could not connect to display AND Failed to create OpenGL context for format QSurfaceFormat

$
0
0
@johnyboy Hi Could you try ldd on the plugin to see if something still missing ? (I assume its yes to X11 server etc)

[[qanda:topic_unsolved]] Uninstaller doesn't work

$
0
0
Hi It sounds really broken for some reason. You can either delete the c:\qt folder and and download the installer again or use a tool like https://www.techradar.com/reviews/iobit-uninstaller to get rid of any registry keys too. Sorry but i dont know who to fix this as it sounds the install is incomplete and might miss uninstall files etc.

[[qanda:topic_unsolved]] Is it possible to compile once, run everywhere for windows.

$
0
0
Hi and welcome to the forums Yes it should run on most other windows 10 64 bit. Maybe even win 7. But there is no guarantee as such with brand new mega patches. A license would give you many benefits but it's not better to deploy as such.
Viewing all 22112 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>