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

Unsolved Qt Versions - Cygwin-g+

$
0
0

Hi,

I come on this forum after a week of search and try to understand how to fix my issue.
I have install a linux OS on my computer Windows 10.
This version of Linux have a version of Qt 5.7.1 and run on Cygwin-g++.
After some modification in PATH, I can do both command qmake-qt5 / make (like on cygwin).
But I would like to work in Qt, when I would like to add the Qt version i have a "make install" message.
in general message i see :
Cannot read "/opt/..../glibc-2.24/../qt5/mkspecs/devices/linux-oslinux-g++.conf" : no such file or directory.

I am sorry if it is not clear. But after one week of try, the only one solution I have but not friendly is to create own step of qmake/make, changing in Kits the mkspecs folders. But the PROJECT don't recognized core, widgets, etc..

As someone can help me :-).
Ty


Unsolved How to install Qt in windows 10?

$
0
0

@vaibs1224
Hi
You did also download the requested compiler and installed in the shown location?

also when you make the new project, does it show a 4.8.7 kit ?

My Creator did not pick it up automatically.

Unsolved Why does not console.log take effect through Qt Installer Framework?

$
0
0

I am using Qt Installer Framework. I use Qt Creator as compiler to build installer.
I wrote console.log("test") in controller.qs and installscript.qs respectively, and run installation through Qt Creator but there is no log in the qtcreator console.

Unsolved Qt Installer Framework: Cannot uninstall program on Windows 10

$
0
0

@Dydill

Thanks for reporting back. However,it would be good to checkin the bug report system for Qt https://bugreports.qt.io/secure/Dashboard.jspa if there is already a bug report on this issue. If not,you should add it and post the bug report number here.

This forum is not checked for bug reports and it will be lost when not entered as a proper bug report.

Solved Did I install Qt incorrectly? Problems with Qt virtualKeyboard styles.

$
0
0

Alright, I uninstalled Qt and re-installed it. I must have deleted the directory somehow. I can see it now.

Unsolved How to upgrade qt 5.9.5 to 5.10.1 ??

$
0
0

Hi I'm planning to use PyQt5 on nvidia Xavier board which is arm64 architecture and Ubuntu 18.04.

I've been install PyQt5 using

sudo apt-get install python3-pyqt5

and checked the version of pyqt and qt it sayes

PYQT_VERSION = 330241
PYQT_VERSION_STR = 5.10.1
QOpenGLVersionProfile = <class 'PyQt5.QtGui.QOpenGLVersionProfile'>
QOperatingSystemVersion = <class 'PyQt5.QtCore.QOperatingSystemVersion'>
QT_VERSION = 329989
QT_VERSION_STR = 5.9.5

Is it necessary to match the version of pyqt and qt? Is it the reason that getting error when using Qtgui.application ?

Unsolved Static compilation. Qt 5.12.3, Win10, MinGW.

$
0
0

Changing the '\' to '/' in QtStaticDir (e.g. from C:\Qt\5.13.0\mingw73_64_static to C:/Qt/5.13.0/mingw73_64_static) did not work for me.
I'm having the same problem using Windows 10 x64, Qt 5.13.0 and MinGW 7.30 64-bit
So we have established that the problem is not specifically with the 5.12.3 version of Qt (5.13 is affected too), nor the 32-bit version of MinGW (the 64-bit version is affected too).

It is unfortunate that the bug report in bug tracker was closed (twice!):
https://bugreports.qt.io/browse/QTBUG-68502
https://bugreports.qt.io/browse/QTBUG-72585
The claim by the person who closed it was that this is not a Qt problem. There is clearly an issue with the way Qt sources interact with the compiler that Qt is distributing, affecting users who follow the instructions on static builds that are given on the official Qt website: this sounds a "Qt problem" to me, even if "it's someone else's fault".

I'll keep trying to find a solution and post back here.

Unsolved OpenSSL 1.1.1c Toolkit in clean Windows 10

$
0
0

Right ! These are C libraries !

Check these .dlls with Dependency Walker, you might find so what differs between these sets.

By the way, can you check which version of Qt was used to build Qt Creator ?


Unsolved Connection between xampp and Qt 5.12 sous linux

Unsolved Project ERROR: Cannot run compiler 'g++'. Output

$
0
0

I'm having a difficult time installing Qt on Windows 10 with MinGW. I've reinstalled about 20 times so far and have read countless posts on this forum but to no avail. The error I'm is Cannot run compiler g++, even though it was installed and QtCreator seemed to auto detect it.

To make things easier to understand I'm going to reinstall again to show my settings etc during installation.

So right now I have no Qt installed, and no MinGW. No GCC, or G++. As can be confirmed on the command line:

0_1564232980551_82fc6565-12b4-4e02-ba9f-7a856149bf54-image.png

So next up I run the offline installer:

0_1564233098768_44f4dbf3-1872-4751-bb71-c08317c412c1-image.png

And ...

0_1564233122710_7929e600-71f3-4cde-b144-0552ee22f83b-image.png

I skip the account login bit and select the following directory to install

0_1564233186468_a364182e-e427-43f2-a507-16d9067958de-image.png

I select the following components

0_1564233244223_e968af5f-de9a-4eb2-8ee7-b262c2d81548-image.png

And

0_1564233270626_33ee67f4-4d38-49cc-8ce4-cb3f648f7342-image.png

After that I proceed with the installation. Once complete I add the following paths to my environment PATH variable. (I'm not actually sure if I need both 32bit and 64bit. I assume the compiler needs either depending on whether compiling for 32 or 64 bit).

  • C:\Qt\Qt5.12.4\Tools\mingw730_32\bin

  • C:\Qt\Qt5.12.4\Tools\mingw730_64\bin

When I open the terminal they're loading correctly:

0_1564238818480_ae201799-2ecb-4f86-b630-5001f0f04cfd-image.png

Next up I load QtCreator and open the clock example:

0_1564238893967_0015fc84-f1da-4134-8c2b-0c91103603e7-image.png

I click on each kit to activate them. For some reason the build path is red.

0_1564238997758_ca2eda6f-a32c-4fe7-ad58-b9075312f3ab-image.png

And if I attempt to run I get the following error:

0_1564239032506_4ccf2399-88df-4738-868b-29ac3b0bc5bb-image.png

The detailed error is:

15:50:07: Running steps for project analogclock...
15:50:07: Starting: "C:\Qt\Qt5.12.4\5.12.4\mingw73_32\bin\qmake.exe" C:\Qt\Qt5.12.4\Examples\Qt-5.12.4\gui\analogclock\analogclock.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
'C:\Users\KraftWurk\shell.bat' is not recognized as an internal or external command,
operable program or batch file.
Project ERROR: Cannot run compiler 'g++'. Output:
===================
# 1 "C:/Qt/Qt5.12.4/5.12.4/mingw73_32/mkspecs/features/data/macros.cpp"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "C:/Qt/Qt5.12.4/5.12.4/mingw73_32/mkspecs/features/data/macros.cpp"
QT_COMPILER_STDCXX = 201402L
# 26 "C:/Qt/Qt5.12.4/5.12.4/mingw73_32/mkspecs/features/data/macros.cpp"
QMAKE_GCC_MAJOR_VERSION = 7
QMAKE_GCC_MINOR_VERSION = 3
QMAKE_GCC_PATCH_VERSION = 0
===================
Maybe you forgot to setup the environment?
15:50:07: The process "C:\Qt\Qt5.12.4\5.12.4\mingw73_32\bin\qmake.exe" exited with code 3.
Error while building/deploying project analogclock (kit: Desktop Qt 5.12.4 MinGW 32-bit)
When executing step "qmake"
15:50:07: Elapsed time: 00:00.

The kit looks to be fine:

0_1564239326873_2f44d343-fae5-4c1b-9dc5-eb6522940901-image.png !

and

0_1564239256322_9930599f-f54d-4e66-8160-eb3097f05d19-image.png

and

0_1564239282425_db04edb6-e636-44c1-9342-2f31d3ba8cd5-image.png

Can anyone help me figure out what's going on? I've tried for weeks to get this working before asking for help. I just can't seem to get it to run correctly.

Unsolved Error during installation

Unsolved QT 5.12 Project ERROR: You cannot configure qt separately within a top-level build on Raspberry Pi 3

$
0
0

Hello,

I am currently trying to add QT 5.12.3 on Raspberry Pi 3 B+ on Raspbian. I have had very mixed results so far. The tutorial I am using is this: https://www.tal.org/tutorials/building-qt-512-raspberry-pi

I am aware that as soon as I resolve this one issue, I will have another can of worms with the make as seen in past issues in other threads and forums. But I cannot make it to that issue as I am stuck at this part:

"Create a shadow build directory outside of the Qt source tree
We will build Qt outside of the source tree, this way you can easily have different build version and easily also start over in case of any issues. You build location can be anywhere where there is enough space, for example an USB stick in case you are running out on your SD card. Remember to adjust any paths in the commands.

mkdir build
cd build
"

So I do just that, I create a simple folder called build and enter the folder there, then I enter the following:

PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig
../qt-everywhere-src-5.12.3/configure -platform linux-rpi-g++
-v
-opengl es2 -eglfs
-no-gtk
-opensource -confirm-license -release
-reduce-exports
-force-pkg-config
-nomake examples -no-compile-examples
-skip qtwayland
-skip qtwebengine
-no-feature-geoservices_mapboxgl
-qt-pcre
-no-pch
-ssl
-evdev
-system-freetype
-fontconfig
-glib
-prefix /opt/Qt5.12
-qpa eglfs

I then run into the Project ERROR mentioned in the title. I am 1000% sure that I am doing something really silly, but would like confirmation. Thank you.

Unsolved QT 5.12 EGLFS Raspberry Pi detection inconsistent

$
0
0

Alright, thanks for helping with the first issue, now I am running to an issue that seems to be (and the main issue I am helping a friend with trying to solve).

I am trying to add QT to a Raspberry Pi 3 B+ on Raspbian using these instructions: https://www.tal.org/tutorials/building-qt-512-raspberry-pi

I am up to the part where I configure the QT build using pretty much this command:

PKG_CONFIG_LIBDIR=/usr/lib/arm-linux-gnueabihf/pkgconfig:/usr/share/pkgconfig \ /home/pi/qt-everywhere-src-5.12.3/configure -platform linux-rpi-g++ \ -v \ -opengl es2 -eglfs \ -no-gtk \ -opensource -confirm-license -release \ -reduce-exports \ -force-pkg-config \ -nomake tests -nomake examples -no-compile-examples \ -skip qtwayland \ -skip qtwebengine \ -no-feature-geoservices_mapboxgl \ -qt-pcre \ -no-pch \ -ssl \ -evdev \ -system-freetype \ -fontconfig \ -glib \ -prefix /opt/Qt5.12 \ -qpa eglfs

This command does a configure summary that displays this:

QPA backends:
DirectFB ............................... no
EGLFS .................................. yes
EGLFS details:
..
EGLFS Raspberry Pi ................... yes
EGLFS X11 ............................ yes

Now, if I try and do the configure command again via \home\pi\qt-everywhere-src-5.12.3\configure, I end up with this:

QPA backends:
DirectFB ............................... no
EGLFS .................................. yes
EGLFS details:
..
EGLFS Raspberry Pi ................... no
EGLFS X11 ............................ yes

So pretty much, I have a schrodinger's cat going on here. I am suspecting I am not doing the Missing EGLFS Fix correctly but will take any take any help.

Unsolved "Qt requires a C++11 compiler..." (WebAssembly build)

$
0
0

Hi I am trying to create a WebAssembly project. I have followed the steps and built Qt as described here: https://wiki.qt.io/Qt_for_WebAssembly. I tried building a newly created widget form project, and it succeeded, however now I'm trying to build the project that I have developed, which is giving me a lot of errors, the first one being:

.....
In file included from ..\..\..\Qt\WABuild\qt-everywhere-src-5.13.0\qtbase\include\QtCore/qcompilerdetection.h:1:
..\..\..\Qt\WABuild\qt-everywhere-src-5.13.0\qtbase\include\QtCore/../../src/corelib/global/qcompilerdetection.h:564:6: error: Qt requires a C++11 compiler and yours does not seem to be that.
#    error Qt requires a C++11 compiler and yours does not seem to be that.

So if that is the case, how do I enable C++11 support?

Unsolved QT 5.12.2 installation error

$
0
0

Hi and welcome to devnet,

Do you have the libxkbcommon development package installed ?


Unsolved How to print log during Qt Installation?

$
0
0

I am creating a Qt Installer project based on QtIFW example (startmenu) . I want to output some log through console.log() in controller.qs and installscript.qs respectively,but running installation through Qt Creator only gets output like below. Is there any wrong during using console.log?

11:06:11: Starting D:\sourcecode\build-install-Desktop_Qt_5_12_1_MSVC2017_32bit-Release\Installer.exe...
Cannot register file downloader for https protocol: QSslSocket::supportsSsl() returns false
11:06:29: D:/sourcecode/build-install-Desktop_Qt_5_12_1_MSVC2017_32bit-Release/Installer.exe exited with code 0

Unsolved How to print log during Qt programe Installation?

$
0
0

I am creating a Qt Installer project based on QtIFW example (startmenu) . I want to output some log through console.log() in controller.qs and installscript.qs respectively,but running installation through Qt Creator only gets output like below. Is there any wrong during using console.log?

11:06:11: Starting D:\sourcecode\build-install-Desktop_Qt_5_12_1_MSVC2017_32bit-Release\Installer.exe...
Cannot register file downloader for https protocol: QSslSocket::supportsSsl() returns false
11:06:29: D:/sourcecode/build-install-Desktop_Qt_5_12_1_MSVC2017_32bit-Release/Installer.exe exited with code 0

Unsolved DLL entry point problem, using the same dll's from the same path as qt creator

$
0
0

Hello,
I know what this error is due to, and I have tried a lot of things.
I am using mingw 7.3.0 32bits, Qt 5.13.0.
I can execute the app from qt creator but not from the release or debug *.exe files. I have cuadruple checked the environment in qt creator, which is a clear environment.
In Qt Creator I have PATH="C:\Qt\Tools\mingw730_32\bin;C:\Qt\5.13.0\mingw73_32\bin;C:\Qt\Tools\mingw730_32\bin"

When I run the exe file, I get the error that a procedure entry point couldn't be found in the dll: C:\Qt\5.13.0\mingw73_32\bin\Qt5Core.dll, which is exactly the same path as the one configured in the qt creator environment.
What is wrong? Somehow when I run from qt creator, it's using another dll rather than the one configured in the environment.
Edit: It works with the dll's under C:\Qt\Tools\QtCreator\bin, but why? I specifically told qt creator to use the ones under mingw directory, how can this be changed?

Unsolved Updating existing offline installation

$
0
0

Older forum topics say an existing offline installation cannot be updated. Running the installer again results in "already installed" error.
Our customer PCs do not have online access, so an offline installer has to be used.
Has the Qt installer framework been updated so this works? If not, will it be in the future?

Unsolved Where to find qt-sdk

$
0
0

I am running Lubuntu 19.04 on a mini-pc. I am developing an application on my desktop and want to deploy it on a mini-pc (both use the same architecture and binary compatible).

I want to avoid installing the whole qt (5.13) on the mini-pc. I remember in good old days it was enough to install 'qt-sdk' package...but I can not find that anymore...

Any ideas how to manage this?

Viewing all 22112 articles
Browse latest View live


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