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

[[qanda:topic_unsolved]] Qt Installation framework

$
0
0

I was developing multi language installer.
So can anyone help me how to load qm files whenever I select a particular language.
Based on the language I select installer must change to that language.
Thanks in advance.


[[qanda:topic_solved]] [SOLVED] qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

$
0
0
Hi, I experienced this problem on Debian 10 Buster after upgrading my Qt to 5.15.2 and QtCreator to 14.0 In the end the lib libxcb-util.so.1 was missing. ldd /home/developer/Qt5/5.15.2/gcc_64/plugins/platforms/libqxcb.so ... libxcb-util.so.1 => not found ... See here: https://bugreports.qt.io/browse/QTBUG-88688

[[qanda:topic_unsolved]] ld: error: unable to find library -lpnp_basictools

$
0
0

Hello,
I am following the instructions to build Qt for Android (Qt 5.15.2) on a Windows 10 PC (see https://doc.qt.io/qt-5/android-building.html).

I configured the project successfully and ran "mingw32-make.exe -j" to build the project. After several hours of building, it failed with the following initial error message:

ld: error: unable to find library -lpnp_basictools
clang++; error: linker command failed with exit code 1 (use -v to see invocation)
mingw32-make.exe[7]: *** [Makefile.Armeabi-v7a:129: ..\libplugandpaint_armeabi-v7a.so] Error 1
.
.
.

Here is the full error message:
-lpnp_basictools library missing.png

I obtained the source code using the online installer application, but it does not have any fie named, "libplugandpaint_armeabi-v7a.so". Where might I obtain this file, and where would I need to save it? It appears there are other files missing as well:

  • libplugandpaint_arm64-v8a.so
  • libplugandpaint_x86.so
  • libplugandpaint_x86_64.so

Any help to find a work-around for this fatal build error is most appreciated.

[[qanda:topic_unsolved]] Installation QT via Intune to all my developers.

$
0
0

Hi there,

Is there a solution to install this packages via Itune?
I have more developers who need the installation.
Is there a MSI package or is there a silent installation possiblity?

Kind regards,

Bas

[[qanda:topic_unsolved]] How to remove components in my own PROGRAM that is generated by binarycreator

$
0
0

remove.png

Hello, I have a question about maintenancetool generated by binarycreator in win10.

I have generated my own PROGRAM using binarycreator (before doing this, I have done deploying using windeployqt).
In testing uninstalling components, I faced a problem.
The problem is the button "Next" is not executed in any case.

May I ask you to give me some solutions..?

Thank you.

[[qanda:topic_unsolved]] Qt Installation framework

$
0
0

I have developed installer using QIFW. In that I have a custom page where I ll be entering username and password . I have used Qeditline to pass that values.
Now I need to know as I'm new to Qscript
-how to catch those values in installscript.qs and pass those data to .txt file or any other file.
please help.....thanks in advance..

[[qanda:topic_unsolved]] Make Qt work on apple Silicon

$
0
0
@jsulm ok, I got your idea, thank u for your reply :)

[[qanda:topic_solved]] Beaglebone Cross Compile

$
0
0
@ununez try this https://sysprogs.com/w/fixing-rpath-link-issues-with-cross-compilers/. I had the same problem. Don't use gold linker. This is my configure: /opt/qt5pi/qt-everywhere-src-5.11.3/configure -opengl es2 -device buildroot -device-option CROSS_COMPILE=/opt/qt5pi/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /opt/qt5pi/sysroot -prefix /usr/local/qt5pi -confirm-license -opensource -skip qtscript -skip wayland -skip qtwebengine -skip qtdatavis3d -nomake examples -make libs -pkg-config -no-use-gold-linker -v. Creat a folder called etc in sysroot(for expamle, /opt/qt5pi/sysroot/etc/ld.so.conf ). My ld.so.conf: /usr/local/lib/arm-linux-gnueabihf /lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf /usr/local/lib Just see the site the above My target device is Armbian Buster with Linux 5.3.9-sunxi and host computer ubuntu(Distributor ID: Ubuntu Description: Ubuntu 16.04.7 LTS Release: 16.04 Codename: xenial )

[[qanda:topic_unsolved]] Qmessgebox qt installation framework

$
0
0

Is it possible to modify the QmessageBox that pops up when you click on the cancel button.??
If Yes than how to access those buttons and how to specify the message into it..please help..
I tried this code but there isn't any changes..Maybe i made mistake in this code please correct this..

Controller.prototype.TargetDirectoryPageCallback = function()
{
page=gui.pageById(QInstaller.TargetDirectory);
if(page!=null){
// page.CancelButton=QMessageBox.warning("quit.warning", "Installer", "Do you want to quit the installer?",
// QMessageBox.Yes | QMessageBox.No);
page.CancelButton.warning("quit.warning", "Installer", "Do you want to quit the installer?", QMessageBox.Yes | QMessageBox.No);
}
}

thanks in advance.

[[qanda:topic_unsolved]] Getting an old project running

$
0
0
@Peter8 https://download.qt.io/new_archive/qt/5.4/5.4.2/

[[qanda:topic_solved]] Hash verification while downloading failed. This is a temporary error, please retry.

$
0
0
Not sure if this is helpful, but I found I got this error if my Google account was paused. As soon as I logged into Google account, the install resumed with no errors. (Assuming of course that you have downloaded Qt via Google browser)

[[qanda:topic_unsolved]] image not found error: QT rpath is pointing to version 'A' instead of a number @rpath/QtCore.framework/Versions/A/QtCore

$
0
0

just freshly installed QT 6.0.1 and I was about to run my application and I encountered the
issue dyld: Library not loaded: @rpath/QtWidgets.framework/Versions/A/QtWidgets

I was surprised that instead of a version number, the letter 'A' is displayed instead. I already performed "otool -l" and discovered all QT modules are linked to this version 'A'

Note: prior to 6.0.1 there was an older version installed in the machine but I uninstalled it using maintenance tool.

Perhaps this issue is more on not finding the correct image thru rpath instead of the "A" version, but i think it is related since it should be the version in there instead of the letter "A"

How do I resolved this?

[[qanda:topic_unsolved]] Yet another Unknown module(s) in QT: 3dcore

$
0
0
Edit, scrolling down a bit, it looks like the QT6 release I downloaded might not be a real binary release: https://forum.qt.io/topic/123926/unknown-module-networkauth/2 Will investigate this: https://www.kdab.com/getting-your-3d-ready-for-qt-6/

[[qanda:topic_unsolved]] xcopy - Invalid number of parameters (Qt 5.15.2)

$
0
0

Hello,
I am following the instructions to build Qt for Android (Qt 5.15.2) on a Windows 10 PC (see https://doc.qt.io/qt-5/android-building.html).

I configured the project successfully and ran "mingw32-make" to build the project. After about 6 hours of building, it failed with the following initial error message:

mingw32-make[4]: Entering directory 'F:/Qt/5.15.2.1_jva/qtbase/src/android/java'
C:\Android\sdk\ndk\22.0.7026061/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -target aarch64-linux-android21 -fno-limit-debug-info -Wl,--enable-new-dtags -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -o java       -llog -lz -lm -ldl -lc
xcopy /s /q /y /i F:\Qt\5.15.2_jva_src\5.15.2\Src\qtbase\src\android\java\res F:\Qt\5.15.2.1_jva\qtbase\src\android\java
Invalid number of parameters
mingw32-make[4]: *** [Makefile:105: java] Error 4
mingw32-make[4]: Leaving directory 'F:/Qt/5.15.2.1_jva/qtbase/src/android/java'
mingw32-make[3]: *** [Makefile:92: sub-java-make_first-ordered] Error 2
mingw32-make[3]: Leaving directory 'F:/Qt/5.15.2.1_jva/qtbase/src/android'
mingw32-make[2]: *** [Makefile:828: sub-F--Qt-5-15-2_jva_src-5-15-2-Src-qtbase-src-android-make_first] Error 2
mingw32-make[2]: Leaving directory 'F:/Qt/5.15.2.1_jva/qtbase/src'
mingw32-make[1]: *** [Makefile:51: sub-src-make_first] Error 2
mingw32-make[1]: Leaving directory 'F:/Qt/5.15.2.1_jva/qtbase'
mingw32-make: *** [Makefile:88: module-qtbase-make_first] Error 2

Here is a screenshot:
1c75f7ca-85aa-4573-83cc-b40c4a59199a-image.png

I tried running the xcopy command manually from cmd prompt and it worked ("21 Files(s) copied"), so unsure why it is failing for the Qt compilation process?

I located the makefile with the offending line, but am unsure exactly what the problem might be. Perhaps one of the two xcopy lines needs to be removed? Remove the extra space in the second line? Something else?
3b22ab7b-6a08-4112-823d-5b09c47316e7-image.png
I will be trying each possibility until I get something working, but it takes up to 6 hours every time, hence this shot in the dark post looking for help.

Any help is most appreciated. Thanks!

[[qanda:topic_unsolved]] Can't create a new Qt project (qmake not working)

$
0
0

Hi, i have a big problem when i create or open a project in Qt Creator. I installed several times qt but nothing seems changing. Right now i'm working with Qt 5.15.2 and basically when i create a new project, in the project window appears only the .pro file, but the source files are not included. When i run the qmake or try to build, several errors appear:

C:/Qt/5.15.2/mingw81_64/mkspecs/features/toolchain.prf:76: Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: failed to parse default search paths from compiler output
10:31:20: The process "C:\Qt\5.15.2\mingw81_64\bin\qmake.exe" exited with code 3.
Error while building/deploying project TEST (kit: Desktop Qt 5.15.2 MinGW 64-bit)
When executing step "qmake"

In manage kits, Kits, Qt Versions and Compilers aren't giving any problems. Can someone help me?
Thanks


[[qanda:topic_unsolved]] About Qt Install Tools

$
0
0

Is "qt-unified-windows-x86-4.0.0-online.exe" made using "Qt Install Framework"?

[[qanda:topic_unsolved]] Credentials for Windows Service

$
0
0

Hi!!

I have an application in Qt that generates the Mykey key in the Windows registry at HKEY_CURRENT_USER\Software\MyCompany\MyApp\ to communicate with a Windows service. (I can't find a way to generate that key in another location)

On the other hand, I have a Windows Service(MSVS 2019 C#) that must read that same key, for which it is necessary to install it as User, log in with credentials.
If I set it as 'Local System Account' it tries to read the key from HKEY_USERS\Software\MyCompany\MyApp, and it doesn't exist there.

With the QTIFW I prepare the installation of the Qt Program and the Windows Service, but I have no way of knowing the password of the user's credentials.

Any ideas to do it? Or another possible solution?

Thank you

[[qanda:topic_unsolved]] windeployqt debug issue with VS2019 /ZI Edit and continu enabled

$
0
0

Hello,

If I compile my project in debug with Edit and continu enabled (/ZI) with VS 2019, the windeployqt.exe will either copy the release plugin binaries (with an error when loading qml because of incompatibility between release and debug) or, if --debug is specified, it will append a "d" to the dll names and fail to copy Qt5Coredd.dll, Qt5Guidd.dll etc because they don't exist.

It only happens when the /ZI option is enabled.

Edit: Using Qt 5.15.2, didn't try with Qt 6

[[qanda:topic_unsolved]] symbol lookup error: /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface24setPlatformFiltersEventsEb

$
0
0

Hello everyone!

I'm a Python dev, and have got an interest in learning Qt for Python. I have tried to install and work with PyQt5 before, but it gave me "xcb" error and I did research about it and gave up later than and installed PySide, it worked. Today, I need to use a Python module named "mayavi" and it requires PyQt5. I tried to install it again with pip install pyqt5 and sudo apt install python3-pyqt5 and it gave me a "xcb" error again. I searched it on the forum a bit and solve my problem with creating a symbolic link. But now, it gives me another error whenever I try to open mayavi with mayavi2 command in my terminal -- note that, I could install mayavi module after solving xcb plugin error. Here is the error it gaves me:

QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "archreq": 0,
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqlinuxfb.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "archreq": 0,
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqminimal.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "archreq": 0,
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "archreq": 0,
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "archreq": 0,
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqvnc.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqvnc.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "vnc"
        ]
    },
    "archreq": 0,
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("vnc")
QFactoryLoader::QFactoryLoader() looking at "/usr/bin/platforms/libqxcb.so"
Found metadata in lib /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 330752
}


Got keys from plugin meta data ("xcb")
loaded library "/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
/media/xyz49/Data/Projeler/Yazılım/Python/3D-Game-of-Life-stable/bin/python: symbol lookup error: /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5: undefined symbol: _ZN22QWindowSystemInterface24setPlatformFiltersEventsEb, version Qt_5_PRIVATE_API

Is there any advice for me to solve this problem? I'm using Ubuntu 20.04.2 LTS. Some (incase if it is important) outputs:

~$ qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu
❯ apt list --installed | grep qt

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgsettings-qt1/focal,now 0.2-1 amd64 [installed,automatic]
libqt5concurrent5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5core5a/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5dbus5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5designer5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5designercomponents5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5gui5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5help5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5multimedia5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5network5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5opengl5-dev/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5opengl5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5positioning5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5printsupport5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5qml5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5quick5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5quickwidgets5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5sensors5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5sql5-sqlite/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5sql5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5svg5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5test5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5webchannel5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5webkit5/focal,now 5.212.0~alpha4-1ubuntu2 amd64 [installed,automatic]
libqt5widgets5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
libqt5x11extras5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
libqt5xml5/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
pyqt5-dev-tools/focal,now 5.14.1+dfsg-3build1 amd64 [installed]
python3-pyqt5/focal,now 5.14.1+dfsg-3build1 amd64 [installed]
qdoc-qt5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qhelpgenerator-qt5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qml-module-qtgraphicaleffects/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qml-module-qtquick-controls/focal,now 5.12.8-0ubuntu2 amd64 [installed,automatic]
qml-module-qtquick-dialogs/focal,now 5.12.8-0ubuntu2 amd64 [installed,automatic]
qml-module-qtquick-layouts/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qml-module-qtquick-privatewidgets/focal,now 5.12.8-0ubuntu2 amd64 [installed,automatic]
qml-module-qtquick-window2/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qml-module-qtquick2/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qt5-assistant/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qt5-default/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed]
qt5-gtk-platformtheme/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qt5-qmake-bin/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qt5-qmake/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qtattributionsscanner-qt5/focal,now 5.12.8-0ubuntu1 amd64 [installed,automatic]
qtbase5-dev-tools/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qtbase5-dev/focal,now 5.12.8+dfsg-0ubuntu1 amd64 [installed,automatic]
qtchooser/focal,now 66-2build1 amd64 [installed,automatic]
qttools5-dev-tools/focal,now 5.12.8-0ubuntu1 amd64 [installed]
qttranslations5-l10n/focal,focal,now 5.12.8-0ubuntu1 all [installed,automatic]
vlc-plugin-qt/focal,now 3.0.9.2-1 amd64 [installed,automatic]

~$ ls /usr/lib/x86_64-linux-gnu/ | grep qt
lrwxrwxrwx 1 root root 24 Feb 18 2020 libgsettings-qt.so.1 -> libgsettings-qt.so.1.0.0
lrwxrwxrwx 1 root root 24 Feb 18 2020 libgsettings-qt.so.1.0 -> libgsettings-qt.so.1.0.0
-rw-r--r-- 1 root root 55K Feb 18 2020 libgsettings-qt.so.1.0.0
drwxr-xr-x 7 root root 4.0K Feb 28 00:44 qt5
drwxr-xr-x 2 root root 4.0K Feb 28 00:44 qtchooser
drwxr-xr-x 3 root root 4.0K Feb 28 00:02 qt-default

Note: You can see my qt5 folder in tree view from the link here: https://pastebin.ubuntu.com/p/Chp75wyw5q/

Thank you everyone.

[[qanda:topic_unsolved]] Qt Installer Framework

$
0
0

614 / 5000
I use Qt IFW. I have spent a lot of time translating Qt IFW GUI into different languages. Started by studying "Dynamic Page Installer Example" and "Translation Example".

Has succeeded a bit ... But it does not work as it should. So my question is "Is there a better way?" There are other installation managers that I have tried (NSIS) that are easier to translate.

Have been looking for a guide that shows how to do, but have not found any. Grateful if anyone can come up with suggestions.

I can not find any "* .qm" that is meant to be used if you do not make your own "pages.ui". Are there any?

Have a good time everyone!

I want to add that I used Qt IFW without translating the GUI. It works fine.
<DisplayName> and <Description> <License>
Also works well and is easy to translate. The problem for me is the GUI.

Viewing all 22112 articles
Browse latest View live


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