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

Which version of Qt am I using? How do I find out?

$
0
0

To find out which version(s) of Qt are installed on your machine, open Qt Creator > Tools > Options... > Kits > Kits.

In the above example, 5 separate versions of Qt have been installed (Yes, a machine can have multiple versions of Qt installed side-by-side):

  • A 32-bit version of Qt 5.12.0 for the MSVC 2017 compiler
  • A 32-bit version of Qt 5.12.3 for the MSVC 2017 compiler
  • A 64-bit version of Qt 5.12.3 for the MSVC 2017 compiler
  • A 32-bit version of Qt 5.12.3 for the MinGW compiler
  • A 32-bit version of Qt 5.9.7 for the MinGW compiler

To find out which version(s) of Qt are being used in your project, click the Kit Selector icon on the bottom-left of Qt Creator:

In the above example, Qt 5.12.3 MinGW (32-bit) is the active version. This means clicking "Build" will launch your MinGW compiler, and your program will link to Qt 5.12.3.

Notice that Qt 5.9.7 is also enabled for this project, but it is not active.

Finally... have a look at Qt Creator > Help > About Qt Creator...

Your IDE is Qt Creator 4.9.1. It was built using the MSVC 2017 compiler and linked to Qt 5.12.3. (This is completely unrelated to your own projects)


Unsolved Absolute paths to EGL library in libQt5Gui.so since Qt 5.12.1

$
0
0

Well another three weeks and no news about this topic?

Unsolved MySQL connector for Windows and Qt 5.12 ?

$
0
0

How did you do for the linux plugin?
Help me do it

Unsolved Connection between xampp and Qt 5.12 sous linux

$
0
0

I want to make a small application with Qt 5.12.2. The application would be related to my Xampp server. But the worry is I have the mistake:
driver not loaded.
I have browsed the forum but I am not satisfied. Your help will be welcome. Thank you in advance!

Unsolved Move project from MacOS to Linux?

$
0
0

I switched from MacOS Mojave to Arch Linux x86_64 today and I have installed ALL of the packages required for Qt and Qt Creator. When I create a new project and run it there is no issue and the application opens as expected. Now in this linux environment when I open my project that I created on MacOS there is NO error in any .cpp or .h file but whenever I try to build and run the project I get exited with code 255 in my application output. There are no issues nor warnings with my code that Qt Creator tells me. Why might my code not run properly?

Also I tried creating a new Qt desktop application and pasting code from the original project to my "new" project. I edited everything but the .pro file and I get 0 errors when I try to build but I still can't run the program without the exited with code 255 error. Nothing shows up.

Compile output

13:16:27: Running steps for project PerfectNote...
13:16:27: Configuration unchanged, skipping qmake step.
13:16:28: Starting: "/usr/bin/make" -j4
make: Nothing to be done for 'first'.
13:16:28: The process "/usr/bin/make" exited normally.
13:16:28: Elapsed time: 00:00.

General messages

2019-07-14T12:20:04 Clang Code Model: Error: The clangbackend process has finished unexpectedly and was restarted.

Debugging mode, application output

13:17:52: Unable to create a debugging engine.

Kernel: 4.19.58-1-lts
WM:i3
Output of pacman -Q | grep qt:

pyqt5-common 5.13.0-1
pyqtwebengine-common 5.13.0-1
python-pyqt5 5.13.0-1
python-pyqtwebengine 5.13.0-1
python-sip-pyqt5 4.19.18-1
qt5-base 5.13.0-7
qt5-declarative 5.13.0-1
qt5-doc 5.13.0-1
qt5-location 5.13.0-1
qt5-multimedia 5.13.0-1
qt5-quickcontrols 5.13.0-1
qt5-quickcontrols2 5.13.0-1
qt5-script 5.13.0-1
qt5-svg 5.13.0-1
qt5-tools 5.13.0-1
qt5-webchannel 5.13.0-1
qt5-webengine 5.13.0-2
qtcreator 4.9.2-2

Unsolved Ubuntu QtQuick deployment, Segmentation fault

$
0
0

Hi,

Which version of Qt are you using ?
Is it the one provided by the distribution ?
Are these two machines different ?
What about their graphic hardware ?
What drivers are you running ?

Unsolved Raspberry Pi 3 B+ cross compile QT5

Unsolved error on configure qtractor-0..9.7 (no qmake)

$
0
0

You need to install qt5-devel, as the error message suggests, or install Qt from the installer (qt.io/downloads) and add path to qmake to your $PATH variable.


Unsolved rpm install on Centos 7 complains that Qt library isn't found even though Qt is installed

$
0
0

I have Qt5.8 installed on Centos 7 and I'm trying to install an RPM file for an application that uses Qt 5.8. When I execute the following I get an error message that a few Qt libraries and libXslt-devel library file is not found:

$ rpm -i Application.rpm 
error: Failed dependencies:
	libQt5WebEngineCore.so.5()(64bit) is needed by Application.x86_64
	libQt5WebEngineCore.so.5(Qt_5)(64bit) is needed by Application.x86_64
	libQt5WebEngineWidgets.so.5()(64bit) is needed by Application.x86_64
	libQt5WebEngineWidgets.so.5(Qt_5)(64bit) is needed by Application.x86_64
	libXslt-devel is needed by Application.x86_64

However, when I extract the application executable and do an ldd it looks like all the needed libraries are there and it runs fine. It just complains when I try to install the RPM.

Removed non-relevant libraries for brevity

$ ldd ./Application
	libQt5WebEngineCore.so.5 => /opt/Qt5.8.0/5.8/gcc_64/lib/libQt5WebEngineCore.so.5 (0x00007f9e27573000)
	libQt5WebEngineWidgets.so.5 => /opt/Qt5.8.0/5.8/gcc_64/lib/libQt5WebEngineWidgets.so.5 (0x00007f9e27337000)
	libxslt.so.1 => /lib64/libxslt.so.1 (0x00007f9e1fd63000)

Since this system contains a manual install of Qt 5.8 I can't put Qt in the BuildRequire or Require sections of my SPEC file. Also in my SPEC file the xslt library has a capital X:

BuildRequire: libXslt-devel

Unsolved QtWebEngine not available through Centos 7 (yum) and Ubuntu 14.04 (apt-get)

$
0
0

I am in a bit of a pickle regarding QtWebEngine installation using yum on Centos 7 and apt-get on Ubuntu 14.04. I do not see QtWebEngine or QtWebEngineWidgets available for installation at all. I am deploying an application so for the dependencies I can't do a manual installation of Qt 5.8 which does have QWebEngine...I need to deploy using apt-get or yum.

You can see below QWebEngine is unavailable in Centos 7 and Ubuntu 14.04.

CentOS 7

$ sudo yum list qt5-qtwebengine*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.sfo12.us.leaseweb.net
 * extras: mirror.sfo12.us.leaseweb.net
 * updates: mirror.keystealth.org
Error: No matching Packages to list

Ubuntu 14.04

$ sudo apt-cache search libqt5web*
libqt5webkit5 - Web content engine library for Qt
libqt5webkit5-dbg - Web content engine library for Qt - debugging symbols
libqt5webkit5-dev - Web content engine library for Qt - development files
libqt5webkit5-qmlwebkitplugin - Qt WebKit QML plugin

What are my options with respect to a workaround?

Unsolved LNK1158: cannot run 'rc.exe'

Unsolved Using OpenCV for Linux and Android

$
0
0

@rami_95 you may want to check Amin Ahmadi's blog regarding build OpenCV for Android yourself, and more important chcking out some examples about integrating Qt and OpenCV for such platform.

Unsolved where is the pyside2-designer?

$
0
0

You can found Pyside2 Designer in Directory: Python37\Lib\site-packages\PySide2

Unsolved Modules not installed when syncing QML to Android device

$
0
0

I am using QML desktop to write an application that I'm trying to deploy to an Android device. I've built an APK and a syncing tool that allows for QML files on my Dropbox account to be used on my Android device.

However when I add the QtPositioning and QSensor modules to make this following code segment work:
positionDisplay {
positionSource: PositionSource {
}
}
and upon syncing to Android the app gives the following error message: module QtPositioning is not installed. module Sensor is not installed.

I've made sure that the .pro file contains QtPositioning and QSensor. I have the same references for QtQuick but that runs fine.

I've tried everything and nothing seems to work, please help!

Unsolved Static Qt build with multiple QPA plugins

$
0
0

Goal
We need to have a static build of Qt to be able to deploy it on our machines easily. This build will be used by two services (two separate deployments), one of them will use qminimal, another will use qxcb QPA plugins.

We would like to have just one build, and then each service will use the plugin that it needs. For example, we could use --platform to select QPA plugin.

Problem
We are using these configuration flags for our build:

-static
-qpa xcb

or

-static
-qpa minimal

This works for just one plugin, but we don't know how to combine plugins in one build.

Questions

  1. Is it possible to build multiple plugins statically? Like:
-static
-qpa minimal xcb
  1. Is it is possible, how two services should be configured to use corresponding plugin? Can we use --platform flag for this?

Unsolved Cannot run target compiler

Unsolved Error in Installing Qt in Ubuntu-mate 18.04

$
0
0

In an attempt to install Qt5 in Ubuntu-mate18.04, raspberrypi3b+ I get the following error. Please check the screenshot
0_1563448719820_Screenshot at 2019-07-01 14-51-03.png

Unsolved Deploying a QML widget embedded in a QQuickWidget in Windows

$
0
0

Hi everyone,

I am trying to get the list of dlls/files to deploy with my Qt application (desktop using Qt Widgets) were I just developed a new windget using QML (embedded in a QQuickWidget) on a Windows 10 OS.

I tried to use the Windeployqt tool but I do not know why is not getting anything related with QML only the usual list of stuff we used to deploy. This is how I use the tool:

  • I set the windeployqt tool path in the environment PATH variable.
  • I execute the tool from a command line from the folder were my exe is.
  • This is the command line: windeployqt -qmldir C:......\resources\qml Myexe.exe (C:......\resources\qml is the actual path where all my qml files are even they got embedded in the exe file resources).

At the end I ended up by selecting manually all the things to install what is not really convenient because I am not sure if I am missing something that is going to be detected later on in field and also is a cumbersome process that I will need to repeat if I keep adding QML stuff.

Anyway, my second question a part from trying to figure out how to use the windeployqt tool is....I am adding only the required dlls and qmldir files but I need to add also the OpacityMask.qml file from GraphicalEffects folder....this is the only qml file I need to add and if I remove it the widget is not working. This looks a bit weird to me....why only this one??

Thank you very much in advance for your help!

Javier

Unsolved Why is log not printed out with console.log ?

$
0
0

I am using Qt Installer Framework. I use Qt Creator as compiler to build our product.
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 How to change button's display of QMessageBox during uninstallation?

$
0
0

I am using QMessageBox during uninstallation. QMessageBox has 2 buttons with QMessageBox.Retry | QMessageBox.Ignore. I need to change the button's display but can't find way. However for installation, i can add translation in package to change QMessageBox button's display.

Viewing all 22112 articles
Browse latest View live


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