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

[[qanda:topic_unsolved]] Is it possible to deploy/develop a Linux app from windows QT platform?

$
0
0
Hi and welcome to the forums. Compiling for another platform on one platform is called cross compiling and its often hard to setup. But yes it is possible. There is also the new linux sub system for windows that might work fine. https://www.windowscentral.com/install-windows-subsystem-linux-windows-10 But if you windows is ok powerful then a virtual machine (virtual box) with a linux inside is so much easier.

[[qanda:topic_unsolved]] I cannot set up Qt/QtCreator for android development. ANDROID_NDK_ROOT problems.

$
0
0

Ive been stumped by this for about 4 days now. Any help would be appreciated. If anyone knows how to get or see more verbose error logging that would help too. Some of these errors aren't very helpful.

System and Versions:

Windows 10
Qt Creator 4.12.4
Based on Qt 5.14.2 (MSVC 2017, 32 bit)

All Android SDK/NDK/Tools etc were installed using Android Studio before installing Qt (I actually uninstalled everything and started from scratch this way).

SDK Build Tools: 30.0.1 and 29.0.2
NDK (Side by Side): 20.1.5948944 and 21.3.6528147

Problem:

I can't set up for android development.

Options > Devices > Android (tab)
under Android Settings I have "Android settings have errors". There is a list of necessary components and all of them have green checks except for one: "All essential packages installed for all installed Qt versions." This one has a red x. Java and OpenSSL are ok here, this is the only problem on this page.

A popup occurs when I open this page:
Title: "Missing Android SDK packages - Qt Creator"
Body: "Android SDK installation is missing necessary packages. Do you want to install the missing packages?"

If I say Yes, popup goes away and nothing happens. When I click OK or Apply from here I get an error in "General Messages":

Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
Could not read qmake configuration file C:/Qt/5.15.0/android/mkspecs/android-clang/qmake.conf.

So I tried adding it to my Windows 10 environment variables.
Name: ANDROID_NDK_ROOT
Value: C:\Users\X\AppData\Local\Android\Sdk\ndk\21.3.6528147

No effect. Tried targeting my r20 ndk, also no effect. Tried User vs System variables as well (all 4 combinations) no effect.

The qmake.conf file it complains about exists and looks fine to me. Tried running QtCreator as admin just in case there was some kind of permission thing. No dice.

This is without a project! I sometimes see advice about changing settings for your project. I am doing this without opening/starting a project yet, just trying to set things up.

Thank you.

[[qanda:topic_unsolved]] Create Setup.py file with PyCharm

$
0
0

Hello,

I program with PyCharm 2020.1.3, Python Python 3.7.6
and Qt version 5.9.7
I want to create a Setup.py file using PyCharm.
I would like to query the operating system in Setup.py
and execute the correct command depending on the operating system
Install Qt.

Question:
How do I do something or where can I find information about this?

[[qanda:topic_unsolved]] To import external library in Qt.

$
0
0

Hi, I want to use ImageMagik in Qt but when i am importing the ImageMagick it is not working so basically I want to know how i can import the ImageMagick so that it work.
I am trying in windows 10.
Regards
Mrityunjay

[[qanda:topic_unsolved]] setup.py - how should such a file be structured?

$
0
0
Python setup.py dependencies You will get this nice tutorial

[[qanda:topic_unsolved]] Calling Setup.py in Ubuntu 20.04 does not work

$
0
0
@PythonQTMarlem Just from reading what it says: you don't have permission to write into /usr/local/lib/python3.8/dist-packages/test-easy-install-3247.write-test. Either runs as a user who does and wishes to install there, or follow the suggestion of --install-dir ... to specify where you want it installed. ?

[[qanda:topic_unsolved]] Qt silent installation on Linux server

$
0
0

Hi,

I have Linux server(Ubuntu 20.04) and i am triying to install Qt using command line but i didn't get succeed yet
I have tried using below reference
https://stackoverflow.com/questions/25105269/silent-install-qt-run-installer-on-ubuntu-server
and the command i am using here is

./qt-opensource-linux-x64-5.14.2.run --script qt-installer-noninteractive.qs --platform minimal --verbose

but the installation stucks in between, the log is as follows

IFW Version: 3.2.2, built with Qt 5.12.7.
Build date: Mar 11 2020
Installer Framework SHA1: 42d8165
[0] Language: No UI language set
[0] Arguments: ./qt-opensource-linux-x64-5.14.2.run, --script, qt-installer-noninteractive.qs, --verbose
[1] Operations sanity check succeeded.
[2] License type read from resource file: "open source"
[2] License display name read from resource file: "open source"
[2] Product read from resource file: ""
[2] Reading Qt Account settings from disk: "/home/dev/.local/share/Qt/qtaccount.ini"
[2] Warning: Qt Account settings file [/home/dev/.local/share/Qt/qtaccount.ini] does not exist.
[2] QtAccount information:
[2] Login completed: false
[2] Email: ""
[2] Total number of licenses: 0
[2] Account type: 3
[2] Resource tree:
[3]      :/translations
[3]      :/translations/ifw_zh_CN.qm
[3]      :/translations/qt_da.qm
[3]      :/translations/qt_de.qm
[3]      :/translations/qt_en.qm
[3]      :/translations/qt_es.qm
[3]      :/translations/qt_fr.qm
[3]      :/translations/qt_ja.qm
[3]      :/translations/qt_it.qm
[3]      :/translations/qt_pl.qm
[3]      :/translations/qt_ru.qm
[3]      :/translations/ifw_de.qm
[3]      :/translations/ifw_da.qm
[3]      :/translations/ifw_es.qm
[3]      :/translations/ifw_en.qm
[3]      :/translations/ifw_fr.qm
[3]      :/translations/ifw_it.qm
[3]      :/translations/ifw_ja.qm
[3]      :/translations/ifw_pl.qm
[3]      :/translations/ifw_ru.qm
[3]      :/translations/qt_zh_CN.qm
[3]      :/files-to-patch-macx-emb-arm-qt5
[3]      :/files-to-patch-windows
[3]      :/files-to-patch-linux-emb-arm-qt5-no-bin-patch
[3]      :/files-to-patch-linux-emb-arm-qt5
[3]      :/files-to-patch-windows-emb-arm-qt5-no-bin-patch
[3]      :/files-to-patch-windows-emb-arm
[3]      :/files-to-patch-linux-qt5
[3]      :/files-to-patch-windows-qt5
[3]      :/files-to-patch-linux-emb-arm
[3]      :/files-to-patch-windows-emb-arm-qt5
[3]      :/files-to-patch-windows-qt5-no-bin-patch
[3]      :/files-to-patch-macx
[3]      :/files-to-patch-linux-qt5-no-bin-patch
[3]      :/files-to-patch-macx-qt5
[3]      :/files-to-patch-macx-emb-arm-qt5-no-bin-patch
[3]      :/files-to-patch-macx-qt5-no-bin-patch
[3]      :/files-to-patch-linux
[3]      :/uninstall.png
[3]      :/installer.png
[3]      :/installer.ico
[3]      :/keepinstalled.png
[3]      :/installer.icns
[3]      :/install.png
[3]      :/keepuninstalled.png
[5]      :/qgradient
[5]      :/qgradient/webgradients.binaryjson
[5]      :/metadata
[5]      :/metadata/qt
[5]      :/metadata/qt/installscript.qs
[5]      :/metadata/qt.qt5.5142.qtquicktimeline.android
[5]      :/metadata/qt.qt5.5142.qtquicktimeline.android/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtquicktimeline.gcc_64
[6]      :/metadata/qt.qt5.5142.qtquicktimeline.gcc_64/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtpurchasing.gcc_64
[6]      :/metadata/qt.qt5.5142.qtpurchasing.gcc_64/installscript.qs
[6]      :/metadata/qt.tools.qtcreator
[6]      :/metadata/qt.tools.qtcreator/launchqtcreatorcheckboxform.ui
[6]      :/metadata/qt.tools.qtcreator/associatecommonfiletypesform.ui
[6]      :/metadata/qt.tools.qtcreator/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtnetworkauth
[6]      :/metadata/qt.qt5.5142.qtnetworkauth/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtwebglplugin.gcc_64
[6]      :/metadata/qt.qt5.5142.qtwebglplugin.gcc_64/installscript.qs
[6]      :/metadata/qt.license.gplv3except
[6]      :/metadata/qt.license.gplv3except/LICENSE.GPL3-EXCEPT
[6]      :/metadata/qt.qt5.5142.gcc_64
[6]      :/metadata/qt.qt5.5142.gcc_64/installscript.qs
[6]      :/metadata/qt.license.lgpl
[6]      :/metadata/qt.license.lgpl/LICENSE
[6]      :/metadata/qt.qt5.5142.qtquicktimeline
[6]      :/metadata/qt.qt5.5142.qtquicktimeline/installscript.qs
[6]      :/metadata/rccprojectyfhCHx.qrc
[6]      :/metadata/qt.qt5.5142.qtquick3d
[6]      :/metadata/qt.qt5.5142.qtquick3d/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtscript
[6]      :/metadata/qt.qt5.5142.qtscript/installscript.qs
[6]      :/metadata/qt.qt5.5142.android
[6]      :/metadata/qt.qt5.5142.android/installscript.qs
[6]      :/metadata/config
[6]      :/metadata/config/config-internal.ini
[6]      :/metadata/installer-config
[6]      :/metadata/installer-config/watermark_linux_png.png
[6]      :/metadata/installer-config/config.xml
[6]      :/metadata/installer-config/logo-small.png
[6]      :/metadata/qt.qt5.5142.qtlottie
[6]      :/metadata/qt.qt5.5142.qtlottie/installscript.qs
[6]      :/metadata/qt.tools
[6]      :/metadata/qt.tools/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtvirtualkeyboard
[6]      :/metadata/qt.qt5.5142.qtvirtualkeyboard/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtcharts
[6]      :/metadata/qt.qt5.5142.qtcharts/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtdatavis3d.android
[6]      :/metadata/qt.qt5.5142.qtdatavis3d.android/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtlottie.android
[6]      :/metadata/qt.qt5.5142.qtlottie.android/installscript.qs
[6]      :/metadata/qt.qt5.5142
[6]      :/metadata/qt.qt5.5142/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtwebglplugin
[6]      :/metadata/qt.qt5.5142.qtwebglplugin/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtcharts.android
[6]      :/metadata/qt.qt5.5142.qtcharts.android/installscript.qs
[6]      :/metadata/qt.qt5.5142.qtvirtualkeyboard.gcc_64
[6]      :/metadata/qt.qt5.5142.qtvirtualkeyboard.gcc_64/installscript.qs
[6]      :/metadata/qt.license.win10sdk
[6]      :/metadata/qt.license.win10sdk/sdk_license
[6]      :/metadata/qt.qt5.5142.qtscript.gcc_64
[6]      :/metadata/qt.qt5.5142.qtscript.gcc_64/installscript.qs
[6]      :/metadata/Updates.xml
[7]      :/metadata/qt.qt5.5142.qtwaylandcompositor.gcc_64
[7]      :/metadata/qt.qt5.5142.qtwaylandcompositor.gcc_64/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtwebengine.gcc_64
[7]      :/metadata/qt.qt5.5142.qtwebengine.gcc_64/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtcharts.gcc_64
[7]      :/metadata/qt.qt5.5142.qtcharts.gcc_64/installscript.qs
[7]      :/metadata/qt.license.python
[7]      :/metadata/qt.license.python/LICENSE.PYTHON
[7]      :/metadata/qt.qt5.5142.qtdatavis3d.gcc_64
[7]      :/metadata/qt.qt5.5142.qtdatavis3d.gcc_64/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtnetworkauth.gcc_64
[7]      :/metadata/qt.qt5.5142.qtnetworkauth.gcc_64/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtwebengine
[7]      :/metadata/qt.qt5.5142.qtwebengine/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtquick3d.gcc_64
[7]      :/metadata/qt.qt5.5142.qtquick3d.gcc_64/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtwaylandcompositor
[7]      :/metadata/qt.qt5.5142.qtwaylandcompositor/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtpurchasing
[7]      :/metadata/qt.qt5.5142.qtpurchasing/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtdatavis3d
[7]      :/metadata/qt.qt5.5142.qtdatavis3d/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtpurchasing.android
[7]      :/metadata/qt.qt5.5142.qtpurchasing.android/installscript.qs
[7]      :/metadata/qt.qt5.5142.src
[7]      :/metadata/qt.qt5.5142.src/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtnetworkauth.android
[7]      :/metadata/qt.qt5.5142.qtnetworkauth.android/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtscript.android
[7]      :/metadata/qt.qt5.5142.qtscript.android/installscript.qs
[7]      :/metadata/qt.qt5.5142.qtlottie.gcc_64
[7]      :/metadata/qt.qt5.5142.qtlottie.gcc_64/installscript.qs
[40] Loaded control script "qt-installer-noninteractive.qs"
[40] Using control script: "qt-installer-noninteractive.qs"

kindly suggest for the correct way if i am wrong

thanks in advance

[[qanda:topic_unsolved]] QT version update in Terminal$

$
0
0
Hi Well unless Ubuntu has a newer version for you to apt-get then you have to use the Qt online installer to get another version.

[[qanda:topic_unsolved]] QtPlatformHeaders not available on macOS Qt 5.15.0

$
0
0
@cmartel said in QtPlatformHeaders not available on macOS Qt 5.15.0: #include <QtPlatformHeaders/QCocoaNativeContext> You should include without module name: #include <QCocoaNativeContext>

[[qanda:topic_unsolved]] Qt installation is very large and I neither have the bandwidth, nor the free space. What should I do?

$
0
0
@terkobitel2 said in Qt installation is very large and I neither have the bandwidth, nor the free space. What should I do?: but Qt installation is about 32GBs That's only true if you select ALL Qt flawours for a version! Only select Qt version for the compiler you want to use, do not select everything under a Qt version! "Qt is asking me to install MSVS" - MSVC is only needed if you want to use the MSVC compiler.

[[qanda:topic_unsolved]] Qt Cmake configuration has no path to a C++ compiler set.

$
0
0
@SGaist Hi SGaist, I already installed vs2017. Kit Desktop Qt 5.14.2 MSVC2017 64bit is normal.There is a warning for 32bit. The warning:"Qt CMake configuration has no path to a C++ compiler set, even though the kit has a valid tool chain."

[[qanda:topic_unsolved]] Beaglebone Cross Compile

$
0
0
Ok, I executed the commands ln -sf ./lib/arm-linux-gnueabihf/librt.so.1 ./usr/lib/arm-linux-gnueabihf/librt.so ln -sf ./lib/arm-linux-gnueabihf/libdl.so.2 ./usr/lib/arm-linux-gnueabihf/libdl.so ln -sf ./lib/arm-linux-gnueabihf/libglib-2.0.so.0 ./usr/lib/arm-linux-gnueabihf/libglib-2.0.so ln -sf ./lib/arm-linux-gnueabihf/libm.so.6 ./usr/lib/arm-linux-gnueabihf/libm.so and I passed to the second error from the post of the link above, so I'd really appreciate an advice because it seems the sysroot is not being notice at all. Should I have the image mounted on my host? is there any problem to take it from the sd card directly?

[[qanda:topic_unsolved]] Why crashed my program with QT 5.15.0 and it work with QT 5.12.9?

$
0
0
Hi Make sure you cleaned the build so NOTHING is left from old compiles. If still crashes, you have to use the debugger to find out where and then it should be easier to guess on why.

[[qanda:topic_unsolved]] Can't find Python when building Qt from sources

$
0
0
@DrPepitoAvs You should check config.log file, maybe you can see more there about the actual problem?

[[qanda:topic_unsolved]] Install Qt inside Docker image (Windows Server)

$
0
0

I'm using Docker for my automated builds. The builds run on Windows Server and the base of the Docker image is "windows-servercore" Inside the Docker container is an installation of Visual Studio, Qt, Chocolatey and CppCheck.

However, the installation of Qt inside the image is very cumbersome. I am using a "silent" script to automate the Qt installation, but I have to disable the internet connection before the Qt installation begins, otherwise the installer gets stuck, as it can't bypass the login screen...which means I have to "babysit" the Docker build every single time I have to re-run it.

Which is pretty annoying, considering I am using the "offline" installer.

Also, I can say this was not an issue last year. Something broke around January/February 2020, making it impossible to install Qt in a container without user intervention.

So, my question is: Is there a way to install Qt inside a Docker image that does not require user intervention? If so, can you please provide an example Dockerfile and silent install .qs script?


[[qanda:topic_unsolved]] BBB Cross compile after make

$
0
0

Re: Beaglebone Cross Compile

After doing the make and make install, I installed qt creator, configure my device, compiler, debugger and kit.

I created my first project and once I tried to build it. I got this output.

I've been reading about the soft-float and hard-float compilation but I'm still cannot find nothing useful.

any advice

18:20:42: Running steps for project sample...
18:20:42: Configuration unchanged, skipping qmake step.
18:20:42: Starting: "/usr/bin/make" -j8
/home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/run/media/nt/rootfs -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../sample -I. -I/run/media/nt/rootfs/usr/local/QtforBBB/include -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtQuick -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtGui -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtQml -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtNetwork -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtCore -I. -I/run/media/nt/rootfs/usr/include/GL/ -I../../../opt/bbbqt5/qt-everywhere-src-5.12.9/mkspecs/devices/linux-beagleboard-g++ -o main.o ../sample/main.cpp
/home/nt/opt/bbbqt5/qt-everywhere-src-5.12.9/bin/rcc -name qml ../sample/qml.qrc -o qrc_qml.cpp
/home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard --sysroot=/run/media/nt/rootfs -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../sample -I. -I/run/media/nt/rootfs/usr/local/QtforBBB/include -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtQuick -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtGui -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtQml -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtNetwork -I/run/media/nt/rootfs/usr/local/QtforBBB/include/QtCore -I. -I/run/media/nt/rootfs/usr/include/GL/ -I../../../opt/bbbqt5/qt-everywhere-src-5.12.9/mkspecs/devices/linux-beagleboard-g++ -o qrc_qml.o qrc_qml.cpp
/home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/run/media/nt/rootfs/lib/arm-linux-gnueabihf -mfloat-abi=hard --sysroot=/run/media/nt/rootfs -Wl,-rpath,/lib/arm-linux-gnueabihf -o sample main.o qrc_qml.o   -L/run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/ /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Quick.so /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Gui.so /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Qml.so /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Network.so /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so /run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so -lpthread  -lrt -lpthread -ldl 
/home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: warning: libicui18n.so.57, needed by /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so, not found (try using -rpath or -rpath-link)
/home/nt/opt/armMakefile:244: recipe for target 'sample' failed
-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: warning: libicuuc.so.57, needed by /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so, not found (try using -rpath or -rpath-link)
/home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: warning: libicudata.so.57, needed by /run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so, not found (try using -rpath or -rpath-link)
/home/nt/opt/arm-toolchain/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/6.3.1/../../../../arm-linux-gnueabihf/bin/ld: warning: libGLdispatch.so.0, needed by /run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so, not found (try using -rpath or -rpath-link)
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucol_getSortKey_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_getStandardName_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_openTimeZones_57'
/run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `_glapi_tls_Current'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_setSubstChars_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_countAvailable_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_compareNames_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_openCountryTimeZones_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucol_open_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `uenum_next_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_getDSTSavings_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucol_setAttribute_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_open_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_get_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucol_strcoll_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_open_57'
/run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `__glDispatchFini'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `uenum_close_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_countAliases_57'
/run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `__glDispatchRegisterStubCallbacks'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `u_strToUpper_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_getAvailableName_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_openTimeZoneIDEnumeration_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_getDefaultTimeZone_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_getMaxCharSize_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_fromUnicode_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_getAlias_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_setMillis_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucol_close_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_clone_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_inDaylightTime_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_toUnicode_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_close_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_getTimeZoneDisplayName_57'
/run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `__glDispatchUnregisterStubCallbacks'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `u_errorName_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucnv_getDefaultName_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `u_strToLower_57'
/run/media/nt/rootfs/lib/arm-linux-gnueabihf/libQt5Core.so: undefined reference to `ucal_close_57'
/run/media/nt/rootfs/usr/lib/arm-linux-gnueabihf/libGLESv2.so: undefined reference to `__glDispatchInit'
collect2: error: ld returned 1 exit status
make: *** [sample] Error 1
18:20:44: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project sample (kit: BeagleBone)
When executing step "Make"
18:20:44: Elapsed time: 00:02.

Qmake commands tokens

$
0
0
Hi, please see https://wiki.qt.io/Undocumented_QMake#Undocumented_variables and https://stackoverflow.com/questions/20324061/where-are-variables-such-as-mkdir-and-copy-dir-defined .

[[qanda:topic_unsolved]] Cannot compile Qt 5.15 on windows 10

$
0
0

I have Qt 5.12.9 compiled successfully using MSVC 2017 on windows 10 machine and today I have tried to compile Qt 5.15.0 using MSVC 2019 but it failed

this is the error message I get

cl -c -FIglobal\qt_pch.h -Yuglobal\qt_pch.h -Fp.pch\release\Qt5Core_pch.pch -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MT -std:c++17 -utf-8 -EHsc -MP -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -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 -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib -I. -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\zlib\src -Iglobal -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\md5 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\md4 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\sha3 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\double-conversion\include -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\harfbuzz\src -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\tinycbor\src -I.rcc/release -IC:\Qt\5.15.0\src-5.15.0\qtbase\include -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore -I..\..\include -I..\..\include\QtCore -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore\5.15.0 -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore\5.15.0\QtCore -I..\..\include\QtCore\5.15.0 -I..\..\include\QtCore\5.15.0\QtCore -Itmp -I.moc\release -I.tracegen\release -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\pcre2\src -IC:\Qt\5.15.0\src-5.15.0\qtbase\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\Amr\AppData\Local\Temp\qmimemagicrulematcher.obj.6132.62953.jom
qmimemagicrulematcher.cpp
qmimetypeparser.cpp
qjsonparser.cpp
        cl -c -FIglobal\qt_pch.h -Yuglobal\qt_pch.h -Fp.pch\release\Qt5Core_pch.pch -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MT -std:c++17 -utf-8 -EHsc -MP -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -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 -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib -I. -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\zlib\src -Iglobal -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\md5 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\md4 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\sha3 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\double-conversion\include -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\harfbuzz\src -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\tinycbor\src -I.rcc/release -IC:\Qt\5.15.0\src-5.15.0\qtbase\include -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore -I..\..\include -I..\..\include\QtCore -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore\5.15.0 -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore\5.15.0\QtCore -I..\..\include\QtCore\5.15.0 -I..\..\include\QtCore\5.15.0\QtCore -Itmp -I.moc\release -I.tracegen\release -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\pcre2\src -IC:\Qt\5.15.0\src-5.15.0\qtbase\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\Amr\AppData\Local\Temp\qmimemagicrule.obj.6132.63813.jom
qmimemagicrule.cpp
qmimeglobpattern.cpp
qxmlstream.cpp
        cl -c -FIglobal\qt_pch.h -Yuglobal\qt_pch.h -Fp.pch\release\Qt5Core_pch.pch -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -O2 -MT -std:c++17 -utf-8 -EHsc -MP -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -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 -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib -I. -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\zlib\src -Iglobal -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\md5 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\md4 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\sha3 -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\double-conversion\include -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\harfbuzz\src -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\tinycbor\src -I.rcc/release -IC:\Qt\5.15.0\src-5.15.0\qtbase\include -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore -I..\..\include -I..\..\include\QtCore -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore\5.15.0 -IC:\Qt\5.15.0\src-5.15.0\qtbase\include\QtCore\5.15.0\QtCore -I..\..\include\QtCore\5.15.0 -I..\..\include\QtCore\5.15.0\QtCore -Itmp -I.moc\release -I.tracegen\release -IC:\Qt\5.15.0\src-5.15.0\qtbase\src\3rdparty\pcre2\src -IC:\Qt\5.15.0\src-5.15.0\qtbase\mkspecs\win32-msvc -Fo.obj\release\ @C:\Users\Amr\AppData\Local\Temp\qmimeprovider.obj.6132.64532.jom
qmimeprovider.cpp
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(88): error C2479: 'QMimeProviderBase::{ctor}': 'allocate( )' is only valid for data items of static extent
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(88): error C2024: 'alignas' attribute applies to variables, data members and tag types only
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(632): error C2065: 'mimetype_database': undeclared identifier
qxmlutils.cpp
qcborstreamwriter.cpp
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(633): error C2065: 'mimetype_database': undeclared identifier
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(633): error C2065: 'MimeTypeDatabaseOriginalSize': undeclared identifier
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(633): error C2338: Compressed MIME database is larger than the original size
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(635): error C2065: 'MimeTypeDatabaseOriginalSize': undeclared identifier
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(635): error C2338: Bundled MIME database is too big
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(637): error C2065: 'mimetype_database': undeclared identifier
C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\mimetypes\qmimeprovider.cpp(638): error C2065: 'MimeTypeDatabaseOriginalSize': undeclared identifier
jom: C:\Qt\5.15.0\src-5.15.0\build\qtbase\src\corelib\Makefile.Release [.obj\release\qmimeprovider.obj] Error 2
        C:\Qt\5.15.0\src-5.15.0\build\qtbase\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -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 -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DNDEBUG -DQT_NO_DEBUG -DPCRE2_CODE_UNIT_WIDTH=16 -DPCRE2_STATIC --compiler-flavor=msvc --include C:/Qt/5.15.0/src-5.15.0/build/qtbase/src/corelib/.moc/release/moc_predefs.h -IC:/Qt/5.15.0/src-5.15.0/qtbase/mkspecs/win32-msvc -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/corelib -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/zlib/src -IC:/Qt/5.15.0/src-5.15.0/build/qtbase/src/corelib/global -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/md5 -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/md4 -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/sha3 -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/double-conversion/include -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/harfbuzz/src -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/3rdparty/tinycbor/src -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/corelib/.rcc/release -IC:/Qt/5.15.0/src-5.15.0/qtbase/include -IC:/Qt/5.15.0/src-5.15.0/qtbase/include/QtCore -IC:/Qt/5.15.0/src-5.15.0/build/qtbase/include -IC:/Qt/5.15.0/src-5.15.0/build/qtbase/include/QtCore -IC:/Qt/5.15.0/src-5.15.0/qtbase/include/QtCore/5.15.0 -IC:/Qt/5.15.0/src-5.15.0/qtbase/include/QtCore/5.15.0/QtCore -IC:/Qt/5.15.0/src-5.15.0/build/qtbase/include/QtCore/5.15.0 -IC:/Qt/5.15.0/src-5.15.0/build/qtbase/include/QtCore/5.15.0/QtCore -IC:/Qt/5.15.0/src-5.15.0/qtbase/src/corelib/tmp -I. -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\ATLMFC\include" -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.26.28801\include" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" --output-json C:\Qt\5.15.0\src-5.15.0\qtbase\src\corelib\animation\qabstractanimation.h -o .moc\release\moc_qabstractanimation.cpp
jom: C:\Qt\5.15.0\src-5.15.0\build\qtbase\src\corelib\Makefile [release] Error 2
jom: C:\Qt\5.15.0\src-5.15.0\build\qtbase\src\Makefile [sub-corelib-make_first] Error 2
jom: C:\Qt\5.15.0\src-5.15.0\build\qtbase\Makefile [sub-src-make_first] Error 2
jom: C:\Qt\5.15.0\src-5.15.0\build\Makefile [module-qtbase-make_first] Error 2

and here is my steps

  • install VS 2019 + ATL + MVC + Python 2 x86 and add it into top of path
  • add lib,site-packages,scripts subfolders
  • install LLVM x86
  • install CMAKE and add to PATH
  • install Active Perl and add to Path
  • add env Var LLVM_INSTALL_DIR = C:\Program Files (x86)\LLVM\
  • add env Var CMAKE_PREFIX_PATH = C:\Qt\5.15.0\msvc2019
  • Install Qt for msvc
  • add C:\Qt\Tools\QtCreator\bin to path
  • edit "C:\Qt\Sources\qt-everywhere-src-5.15.0\qtbase\mkspecs\common\msvc-desktop.conf"
[Before]
QMAKE_CFLAGS_RELEASE = -O2 -MD
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MD -Zi
QMAKE_CFLAGS_DEBUG = -Zi -MDd

[After]
QMAKE_CFLAGS_RELEASE = -O2 -MT
QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi
QMAKE_CFLAGS_DEBUG = -Zi -MTd

and here is my config

..\configure.bat  -release -static -static-runtime -opensource -confirm-license -platform win32-msvc -opengl desktop -no-iconv -no-dbus -no-icu -no-fontconfig -no-freetype -qt-harfbuzz -qt-doubleconversion -nomake examples -nomake tests -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtgraphicaleffects -skip qtlocation -skip qtnetworkauth -skip qtpurchasing -skip qtquickcontrols -skip qtquickcontrols2 -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwebview -skip qtscript -skip qtwebengine -mp -no-warnings-are-errors -no-qml-debug -strip -sql-sqlite -sql-odbc -ssl -openssl-linked -nomake tools OPENSSL_PREFIX=C:\OpenSSL\MSVC2017s  OPENSSL_LIBS="-lUser32 -lAdvapi32 -lGdi32 -lWS2_32 -lCRYPT32 -llibcrypto -llibssl" -prefix C:\Qt\5.15.0\msvc2019s

then

jom 
jom install

here is MSVC config

```

"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Component.NuGet",
"Microsoft.Net.Component.4.6.1.TargetingPack",
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.Net.Component.4.8.SDK",
"Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.TextTemplating",
"Microsoft.VisualStudio.Component.IntelliCode",
"Component.Microsoft.VisualStudio.LiveShare",
"Microsoft.VisualStudio.Component.VC.CoreIde",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.Graphics.Tools",
"Microsoft.VisualStudio.Component.VC.DiagnosticTools",
"Microsoft.VisualStudio.Component.Debugger.JustInTime",
"Microsoft.VisualStudio.Component.VC.Redist.14.Latest",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core",
"Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake",
"Microsoft.VisualStudio.Component.VC.CMake.Project",
"Microsoft.VisualStudio.Component.VC.ATL",
"Microsoft.VisualStudio.Component.VC.TestAdapterForBoostTest",
"Microsoft.VisualStudio.Component.VC.TestAdapterForGoogleTest",
"Microsoft.VisualStudio.Component.VC.ATLMFC",
"Microsoft.VisualStudio.Component.VC.CLI.Support",
"Microsoft.VisualStudio.Component.VC.ASAN",
"Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
"Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset",
"Microsoft.VisualStudio.Component.VC.Llvm.Clang",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang",
"Microsoft.VisualStudio.Workload.NativeDesktop",
"Microsoft.VisualStudio.Component.Windows10SDK.19041",
"Component.GitHub.VisualStudio",
"Microsoft.VisualStudio.Component.Git"
]



and finally install python 3.6  as it is needed for Qt creator

any help is really appreciated

[[qanda:topic_unsolved]] QT Bridge Sketch Plugin

$
0
0

Hi guys,

I have some trouble with the Installation. I am an experience designer at moodley and build some screens for our client.

Now I bought QT Design Studio Bridge extension to convert artwork into Qt Quick files, how it is written on the website.

The problem is that the plugin ist not in the new design studio extension and the sales team told me that I don't have a commercial license and for technical help, I should write to the community.

Now I am here with the question to fix the problem and get the sketch plugin.

Maybe someone can help me with the next steps and solve the problem.

Thanks for your help and your patience.

Best,
Ben.

[[qanda:topic_unsolved]] undo extract operation can't remove the resources correctly

$
0
0

In Qt IFW, when I uninstall a package with extract operation, the qt remove the resource, it looks like IFW try to find the resouces record with a wrong path, that is, resouces record locate at C:/Users/Caiyi/IfwExamples/modifyextract/extractToAnotherPath/installerResources/org.qtproject.ifw.example.modifyextract/1.0.1my_content.txt instead of C:/Users/Caiyi/IfwExamples/modifyextract/extractToAnotherPath/extractToAnotherPath/installerResources/org.qtproject.ifw.example.modifyextract/1.0.1my_content.txt, see the uninstall log below

[4729] undo operation= "Extract"
[4729] undo org.qtproject.ifw.example.modifyextract operation: Extract
[4730]  - arguments: installer://org.qtproject.ifw.example.modifyextract/1.0.1my_content.7z, C:/Users/Caiyi/IfwExamples/modifyextract/extractToAnotherPath
[4730] Warning: Cannot open file  "C:/Users/Caiyi/IfwExamples/modifyextract/extractToAnotherPath/extractToAnotherPath/installerResources/org.qtproject.ifw.example.modifyextract/1.0.1my_content.txt"  for reading: "系统找不到指定的路径。" . Component is already uninstalled  or file is manually deleted.
[4732] Warning: Cannot remove data file "C:/Users/Caiyi/IfwExamples/modifyextract/extractToAnotherPath/extractToAnotherPath/installerResources/org.qtproject.ifw.example.modifyextract/1.0.1my_content.txt"
[4733] Done
Viewing all 22112 articles
Browse latest View live


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