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

[[qanda:topic_unsolved]] Qt WebGL Streaming without GPU

$
0
0

Hi all,

On https://www.qt.io/blog/2018/11/23/qt-quick-webgl-release-512 in the "Use cases" topic, I can read that WegGL Streaming can be used with low-end device without GPU.
I'm very interesting by this feature...

I have an already working solution, in the same "environment" (Qt 5.12.6, Linux 4.9, Yocto branch "warrior"), but on a Wandboard (iMX6 with Vivante GPU, with open source driver armada+etnaviv and Xorg).

I'm currently trying to use it with a "Zynq 7000" eval board (Xilinx CPU + FPGA in a simple chip but without GPU).

But, I can't build the qtwebglplugin because I can't find the good "configure" options.
On many Qt WebGL blog pages, I can read that to enable Qt WebGL Plugin, I need to build with "-open es" configure option.
But, on a device without GPU, I need to build Qt with the "-no-opengl" configure option...

My question is : Is it possible to build the Qt WebGL plugin for hardware without GPU (with -no-opengl ?) and which version used ? (I'm trying with 5.12, perhaps 5.14 fix this issue ?)

Thanks for any solutions or lead to resolve this issue.
Fabien


[[qanda:topic_unsolved]] Installation error for cross compiler

$
0
0

Hi,

I'm using the most up to date tutorial I've found to have a cross compiler for the RaspberryPI3 here :
https://wiki.qt.io/RaspberryPi2EGLFS. I'd like to mention that:

  • I have changed the image to suit to Buster lite instead of Wheezy.
  • I've cloned Qt 5.12 version
  • The environment I'm using is a VM with a recent 64 bits Linux Mint

And the output of the configure is :

<srcbase> = /home/david/raspi/qtbase
<bldbase> = /home/david/raspi/qtbase
<outbase> = /home/david/raspi/qtbase
Creating qmake...
make: rien à faire pour « first ».
Command line: -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot /home/david/raspi/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix /home/david/raspi/qt5pi -hostprefix /home/david/raspi/qt5 -v -no-use-gold-linker

This is the Qt Open Source Edition.

You have already accepted the terms of the Open Source license.

Running configuration tests...

  • /home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -dumpmachine

arm-linux-gnueabihf
Checking for valid makespec...

  • cd /home/david/raspi/qtbase/config.tests/verifyspec && /home/david/raspi/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/home/david/raspi/sysroot" "QMAKE_CXXFLAGS += --sysroot=/home/david/raspi/sysroot" "QMAKE_LFLAGS += --sysroot=/home/david/raspi/sysroot" -early "CONFIG += cross_compile" /home/david/raspi/qtbase/config.tests/verifyspec
  • cd /home/david/raspi/qtbase/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make

rm -f verifyspec.o
rm -f *~ core *.core
/home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -c -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -mfloat-abi=hard --sysroot=/home/david/raspi/sysroot -O2 -std=gnu++11 -w -fPIC -I. -I/home/david/raspi/qtbase/mkspecs/devices/linux-rasp-pi3-g++ -o verifyspec.o verifyspec.cpp
/home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/david/raspi/sysroot -Wl,-O1 -Wl,-rpath-link,/home/david/raspi/sysroot/opt/vc/lib -Wl,-rpath-link,/home/david/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/david/raspi/sysroot/lib/arm-linux-gnueabihf -o verifyspec verifyspec.o
/home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find crt1.o: Aucun fichier ou dossier de ce type
/home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find crti.o: Aucun fichier ou dossier de ce type
/home/david/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lm
collect2: error: ld returned 1 exit status
Makefile:69: recipe for target 'verifyspec' failed
make: *** [verifyspec] Error 1
Note: Also available for Linux: linux-clang linux-icc

ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.

[[qanda:topic_unsolved]] Best embedded platform for Qt/QML

$
0
0

Hello, it seems Raspberry is not the most friendly platform to run Qt/QML applications. I don't know why but there's a lack of documentation on both sides, and every forum I read there are a lot of people that complains about the same problems.

So, what platform do you recommend with these features:

  • run Qt5/QML applications without X, with GPU acceleration to play (hopefully with QtMultimedia) FullHD video
  • same GPU acceleration available for omxplayer (or another player that supports remote commands, transparency, etc...)
  • Ethernet
  • USB
  • a couple of GPIO
  • support for Buildroot config / Yocto meta-layers

[[qanda:topic_unsolved]] configure with -system-libjpeg fails

$
0
0
@solarisx You should check the configure.log file - it should provide more information about what exactly is the problem.

[[qanda:topic_unsolved]] Qt 5.14.1 won't compile anything on my CentOS-7

$
0
0
According to GCC themselves, it has pretty much full C++11 support (https://gcc.gnu.org/gcc-4.8/cxx0x_status.html). So I think this is something you should raise on Qt bugtracker. I think CentOS allows upgrading GCC (some devel package or something, sorry I don't remember the name), maybe you should try that?

[[qanda:topic_unsolved]] Update of MaintenanceTool on Windows behaviour

$
0
0
Hi, MaintenanceTool probably got stuck in the process of updating itself. Toss the old MaintenanceTool.exe, rename MaintenanceTool.exe.new to MaintenanceTool.exe and you should be good to go. (You might have to enter your account password again.)

[[qanda:topic_solved]] LNK1158: cannot run 'rc.exe'

$
0
0
I cannot find Build Environment settings , can you send me photo please, where I can find it Thank you

[[qanda:topic_unsolved]] Static Compile Qt 5.13.1 with OpenSSL 1.1.1d using MinGW (in Windows 10)

$
0
0
You need to add set Path=%PATH%;C:\OpenSSL\OpenSSL-Win\bin. And you shouldn't install that precompiled version from slproweb.com, it has dynamic libraries. You should download and compile a static version openssl. I created a small script to do an almost unattended install and modified other script. I will also leave all the instructions in the simplest way that has occurred to me. 1º- Install msys2 (used for compile OpenSSL), 7zip and Qt with MinGW for section "Developer and Designer Tools" (if possible the compiler version that matches the one compiled for development) 2º- Update msys2 with pacman -Syu (if needed, close msys2) and pacman -Su 3º- Download OpenSSL from official page https://www.openssl.org/source/ (In your case, openssl-1.1.1d.tar.gz) and descompress folder with 7zip 4º- Include the next file into folder (extension end in .sh): #!/bin/bash pacman -S perl mingw-w64-x86_64-gcc make --noconfirm pacman -Syuu --noconfirm mkdir -p /c/openssl/common ./Configure mingw64 no-shared --prefix=/c/openssl --openssldir=/c/openssl/common make depend && make && make install_sw 5º- Execute "MSYS2 MinGW 64-bit" and go to the folder with command cd /c/pathToFolder and execute the script with command ./script.sh 6º- Execute the next script in PowerShell 3.0 or higher (update $QtSrcUrl if you need a version higer). Extension end in .ps1 #----------------------------------------------------------------------------- # # Copyright (c) 2013, Thierry Lelegard # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. # #----------------------------------------------------------------------------- <# .SYNOPSIS Build a static version of Qt for Windows. .DESCRIPTION This scripts downloads Qt source code, compiles and installs a static version of Qt. It assumes that a prebuilt Qt / MinGW environment is already installed, typically in C:\Qt. This prebuilt environment uses shared libraries. It is supposed to remain the main development environment for Qt. This script adds a static version of the Qt libraries in order to allow the construction of standalone and self-sufficient executable. This script is typically run from the Windows Explorer. Requirements: - Windows PowerShell 3.0 or higher. - 7-zip. .PARAMETER QtSrcUrl URL of the Qt source file archive. By default, use the latest identified version. .PARAMETER QtStaticDir Root directory where the static versions of Qt are installed. By default, use C:\Qt\Static. .PARAMETER QtVersion The Qt version. By default, this script tries to extract the version number from the Qt source file name. .PARAMETER MingwDir Root directory of the MinGW prebuilt environment. By default, use the version which was installed by the prebuilt Qt environment. .PARAMETER NoPause Do not wait for the user to press <enter> at end of execution. By default, execute a "pause" instruction at the end of execution, which is useful when the script was run from Windows Explorer. #> [CmdletBinding()] param( $QtSrcUrl = "http://download.qt-project.org/official_releases/qt/5.14/5.14.1/single/qt-everywhere-src-5.14.1.zip", $open = "C:\openssl", $QtStaticDir = "C:\Qt\Static", $QtVersion = "", $MingwDir = "", [switch]$NoPause = $false ) # PowerShell execution policy. Set-StrictMode -Version 3 #----------------------------------------------------------------------------- # Main code #----------------------------------------------------------------------------- function Main { # Check that 7zip is installed. We use it to expand the downloaded archive. [void] (Get-7zip) # Get Qt source file name from URL. $QtSrcFileName = Split-Path -Leaf $QtSrcUrl # If Qt version is not specified on the command line, try to extract the value. if (-not $QtVersion) { $QtVersion = $QtSrcFileName -replace "`.[^`.]*$",'' $QtVersion = $QtVersion -replace 'qt-','' $QtVersion = $QtVersion -replace 'everywhere-','' $QtVersion = $QtVersion -replace 'opensource-','' $QtVersion = $QtVersion -replace 'src-','' $QtVersion = $QtVersion -replace '-src','' } Write-Output "Building static Qt version $QtVersion" # Qt installation directory. $QtDir = "$QtStaticDir\$QtVersion" # Get MinGW root directory, if not specified on the command line. if (-not $MingwDir) { # Search all instances of gcc.exe from C:\Qt prebuilt environment. $GccList = @(Get-ChildItem -Path C:\Qt\Tools\mingw*\bin\gcc.exe | ForEach-Object FullName | Sort-Object) if ($GccList.Length -eq 0) { Exit-Script "MinGW environment not found, no Qt prebuilt version?" } $MingwDir = (Split-Path -Parent (Split-Path -Parent $GccList[$GccList.Length - 1])) } Write-Output "Using MinGW from $MingwDir" # Build the directory tree where the static version of Qt will be installed. Create-Directory $QtStaticDir\src Create-Directory $QtDir # Download the Qt source package if not yet done. Download-File $QtSrcUrl $QtStaticDir\src\$QtSrcFileName # Directory of expanded packages. $QtSrcDir = "$QtStaticDir\src\$((Get-Item $QtStaticDir\src\$QtSrcFileName).BaseName)" # Expand archives if not yet done Expand-Archive $QtStaticDir\src\$QtSrcFileName $QtStaticDir\src $QtSrcDir # Patch Qt's mkspecs for static build. $File = "$QtSrcDir\qtbase\mkspecs\win32-g++\qmake.conf" if (-not (Select-String -Quiet -SimpleMatch -CaseSensitive "# [QT-STATIC-PATCH]" $File)) { Write-Output "Patching $File ..." Copy-Item $File "$File.orig" @" # [QT-STATIC-PATCH] QMAKE_LFLAGS += -static -static-libgcc QMAKE_CFLAGS_RELEASE -= -O2 QMAKE_CFLAGS_RELEASE += -Os -momit-leaf-frame-pointer DEFINES += QT_STATIC_BUILD "@ | Out-File -Append $File -Encoding Ascii } # Set a clean path including MinGW. $env:Path = "$open\bin;$MingwDir\bin;$MingwDir\opt\bin;$env:SystemRoot\system32;$env:SystemRoot" # Force English locale to avoid weird effects of tools localization. $env:LANG = "en" # Set environment variable QT_INSTALL_PREFIX. Documentation says it should be # used by configure as prefix but this does not seem to work. So, we will # also specify -prefix option in configure. $env:QT_INSTALL_PREFIX = $QtDir # Configure, compile and install Qt. Push-Location $QtSrcDir $env:OPENSSL_LIBS="-lssl -lcrypto" cmd /c "configure.bat -static -release -platform win32-g++ -prefix $QtDir -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -opengl desktop -qt-sqlite -openssl-linked -openssl -I `"$open\include`" -L `"$open\lib`" -opensource -confirm-license -make libs -nomake examples -nomake tests" mingw32-make -k -j4 mingw32-make -k install Pop-Location # Patch Qt's installed mkspecs for static build of application. $File = "$QtDir\mkspecs\win32-g++\qmake.conf" @" CONFIG += static "@ | Out-File -Append $File -Encoding Ascii Exit-Script } #----------------------------------------------------------------------------- # A function to exit this script. The Message parameter is used on error. #----------------------------------------------------------------------------- function Exit-Script ([string]$Message = "") { $Code = 0 if ($Message -ne "") { Write-Output "ERROR: $Message" $Code = 1 } if (-not $NoPause) { pause } exit $Code } #----------------------------------------------------------------------------- # Silently create a directory. #----------------------------------------------------------------------------- function Create-Directory ([string]$Directory) { [void] (New-Item -Path $Directory -ItemType "directory" -Force) } #----------------------------------------------------------------------------- # Download a file if not yet present. # Warning: If file is present but incomplete, do not download it again. #----------------------------------------------------------------------------- function Download-File ([string]$Url, [string]$OutputFile) { $FileName = Split-Path $Url -Leaf if (-not (Test-Path $OutputFile)) { # Local file not present, start download. Write-Output "Downloading $Url ..." try { $webclient = New-Object System.Net.WebClient $webclient.DownloadFile($Url, $OutputFile) } catch { # Display exception. $_ # Delete partial file, if any. if (Test-Path $OutputFile) { Remove-Item -Force $OutputFile } # Abort Exit-Script "Error downloading $FileName" } # Check that the file is present. if (-not (Test-Path $OutputFile)) { Exit-Script "Error downloading $FileName" } } } #----------------------------------------------------------------------------- # Get path name of 7zip, abort if not found. #----------------------------------------------------------------------------- function Get-7zip { $Exe = "C:\Program Files\7-Zip\7z.exe" if (-not (Test-Path $Exe)) { $Exe = "C:\Program Files (x86)\7-Zip\7z.exe" } if (-not (Test-Path $Exe)) { Exit-Script "7-zip not found, install it first, see http://www.7-zip.org/" } $Exe } #----------------------------------------------------------------------------- # Expand an archive file if not yet done. #----------------------------------------------------------------------------- function Expand-Archive ([string]$ZipFile, [string]$OutDir, [string]$CheckFile) { # Check presence of expected expanded file or directory. if (-not (Test-Path $CheckFile)) { Write-Output "Expanding $ZipFile ..." & (Get-7zip) x $ZipFile "-o$OutDir" | Select-String -Pattern "^Extracting " -CaseSensitive -NotMatch if (-not (Test-Path $CheckFile)) { Exit-Script "Error expanding $ZipFile, $OutDir\$CheckFile not found" } } } #----------------------------------------------------------------------------- # Execute main code. #----------------------------------------------------------------------------- . Main 7º- End of install. Add compiler to QT Creator. ;) If you need more help visit the next video for simple install static (without OpenSSL): https://youtu.be/lwX_urJJOf8 Your issue helped me understand where it failed. That's why I wanted to help you and everyone who encountered this issue. Thank you.

[[qanda:topic_unsolved]] Unable to download from "https://www.qt.io/download"

$
0
0

Hello.

I have been trying, for 3 days, to download without success, the version for "open source users" from "https://www.qt.io/download".

After installing "qt-unified-windows-x86-3.2.1-online.exe", launching and completing the various installation windows, selecting ...

Qt 5.14.1

  • MiniGW 7.3.0 64 bit

Developer and Designer Tools

  • Qt Creator 4.11.0 CDB Debugger SUpport
  • Debugging Tools for WIndows
  • MiniGW 7.3.0 64 bit
  • Qt Installer Framework 3.2
  • CMake 3.16.0 64 bit

... the download shows "Unable to download the archive http://download.qt.io/online/qtsdkrepository/windows_x86:desktop/tools_ifw/qt.tools.ifw.32/3.2.0ifw-win-x86.7z : Connection closed ". Retry / Cancel.

If I click "Retry", the same error is displayed.

After 4 or 5 new clicks, the download continues, but another error window is then displayed, such as, for example:

"Unable to download the archive http://download.qt.io/online/qtsdkrepository/windows_x86:desktop/tools_maintenance/qt.tools.maintenance/3.2.1-1-202001200726installerbase-tqtc_3.2-win- x86.7z: Connection closed ". Retry / Cancel.

The same lockups happen over and over for each new file.

It is therefore impossible to download all the files without clicking, at least, 1000 times on the Retry button!

What is going on?
How can I finalize this download?
Thanks for your help.

Windows 10 64-bit environment
Version 1909 (1863.628)
Processor: Intel Core i7-8550U

[[qanda:topic_unsolved]] Error in my first Qt5 program

$
0
0
A bit late to answer but I just found this, have a similar error, and might be of some help. Here is my error: Traceback (most recent call last): File "bimpy/interface/bStackBrowser.py", line 6, in <module> from PyQt5 import QtGui, QtCore, QtWidgets ImportError: dlopen(/Users/cudmore/Sites/bImPy/bImPy_env/lib/python3.7/site-packages/PyQt5/QtGui.abi3.so, 2): Symbol not found: _futimens Referenced from: /Users/cudmore/Sites/bImPy/bImPy_env/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore (which was built for Mac OS X 10.13) Expected in: /usr/lib/libSystem.B.dylib in /Users/cudmore/Sites/bImPy/bImPy_env/lib/python3.7/site-packages/PyQt5/Qt/lib/QtCore.framework/Versions/5/QtCore I am running on macOS Sierra (10.12.6) so the 'built for Mac OSX 10.13' part of the error makes sense... I was able to get rid of this by downgrading PyQt from 5.14.1 to 5.13.0 Install a new virtual environment # create a virtual environment in folder 'myenv' python3 -m venv myenv # activate the virtual environment source myenv/bin/activate Check both pip and python are running rom it which python # returns: /Users/cudmore/Sites/bImPy/myenv/bin/python which pip # returns: /Users/cudmore/Sites/bImPy/myenv/bin/pip Install PyQt == 5.13.0 pip install PyQt==5.13.0 # I also needed PyQtChart==5.13.0 with pip install PyQtChart==5.13.0 Check the version of PyQt you install pip freeze | grep PyQt Gave me PyQt5==5.13.0 PyQt5-sip==12.7.1 PyQtChart==5.13.0 Alternatively, if you want to downgrade to PyQt==5.13.0 in an existing install, simply do pip install PyQt==5.13.0 --upgrade If that doesn't work, first uninstall then reinstall # just to be safe, first uninstall pip uninstall PyQt # then install specific version pip install PyQt==5.13.0 This build error is on the Qt dev end. I am needing to pay attention to this because me and my users are spread across macOS: 10.14, 10.15, 10.16, 10.17. I also have users on Windows 7/10 and this does not seem to be an issue? Hope this helps...

[[qanda:topic_unsolved]] Error in qt 5.12.7 QSqlDatabase: QMYSQL driver not loaded

$
0
0
@sertux said in Error in qt 5.12.7 QSqlDatabase: QMYSQL driver not loaded: QSqlDatabase: QMYSQL driver not loaded Hello and welcome to QtForum, I think you have a library version issue, have you give the output of ldd ~/Qt/5.12.7/gcc_64/plugins/sqldrivers/libqsqlmysql.so

[[qanda:topic_unsolved]] Configure QT 4.2.1 on Ububtu 14.04

$
0
0
@IamNotEinstien Another suggestion: if RedHat 4 does not provide QtCreator, when compile QtCreator (an older version which can be compiled with your Qt version) on your RedHat 4 machine. Even if you manage to compile this old Qt version on Ubuntu 14.04 you most probably will not be able to run your app built on Ubuntu on your RedHat machine because of very different distributions/lib versions (RedHat 4 was released 2005, 9 years before Ubuntu 14.04!).

[[qanda:topic_unsolved]] No entry in system menu for QtCreator after headless installation

$
0
0

Hi!

I am using

./qt-opensource-linux-x64-5.14.0.run --script qt-noninteractive.qs --platform minimal

command with script

function Controller() {
    installer.autoRejectMessageBoxes();
    installer.installationFinished.connect(function() {
        gui.clickButton(buttons.NextButton);
    })
}

Controller.prototype.WelcomePageCallback = function() {
    gui.clickButton(buttons.NextButton, 3000);
}

Controller.prototype.CredentialsPageCallback = function() {
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.IntroductionPageCallback = function() {
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.TargetDirectoryPageCallback = function()
{
    gui.currentPageWidget().TargetDirectoryLineEdit.setText("/opt/Qt");
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.ComponentSelectionPageCallback = function() {
    var widget = gui.currentPageWidget();

    widget.deselectAll();
    widget.selectComponent("qt.tools.qtcreator")

    gui.clickButton(buttons.NextButton);
}

Controller.prototype.LicenseAgreementPageCallback = function() {
    gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.StartMenuDirectoryPageCallback = function() {
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.ReadyForInstallationPageCallback = function()
{
    gui.clickButton(buttons.NextButton);
}

Controller.prototype.FinishedPageCallback = function() {
var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) {
    checkBoxForm.launchQtCreatorCheckBox.checked = false;
}
    gui.clickButton(buttons.FinishButton);
}

After installation I can use atcreator without any problem, the only thing missing is that I have no entry in my system menu
(no qtcreator relate entry in /usr/share/applications nor /usr/share/icons)

Did I miss something?

[[qanda:topic_unsolved]] Static build of Qt 5.12.3 - errors when building against it

$
0
0

I want to build a static version of my program, and so am trying to build a static version of Qt. I have a CentOS 7 machine, and I've downloaded the Qt source, built it using the following command (although I've also tried many other options, and none have an effect)

./configure -opensource -confirm-license -recheck-all -silent -static -prefix /Qt/static/5.12.3 -release -nomake tests -nomake examples -skip qtwebengine -sql-mysql -qt-libjpeg -qt-libpng

Qt builds and installs without error. When I build my program against the static build of Qt, using QtCreator, I get warnings and errors

warning: libicui18n.so.56, needed by //Qt/5.12.3/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
warning: libicuuc.so.56, needed by //Qt/5.12.3/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
warning: libicudata.so.56, needed by //Qt/5.12.3/gcc_64/lib/libQt5Core.so.5, not found (try using -rpath or -rpath-link)
/Qt/5.12.3/gcc_64/lib/libQt5Core.so.5:-1: error: undefined reference to 'u_strToLower_56'
/Qt/5.12.3/gcc_64/lib/libQt5Core.so.5:-1: error: undefined reference to 'ucnv_getStandardName_56'
... 30 more errors ...

I've read some bug reports about Qt static builds not working with ICU, but I can't replicate their work-arounds.

[[qanda:topic_unsolved]] Connot open file "" for writing: No error on Install

$
0
0

I am just trying to install and keep getting this error. I have tried with and without administrator access and with or without an account selected. Any ideas?

Connot open file "" for writing: No error

f71320a9-5556-49c0-a32f-dacfe4229f1a-image.png

If I try to test a temp repo I just get this. Thanks for the help.

e6891f05-7992-490c-9b6e-efff39e94b5a-image.png


[[qanda:topic_unsolved]] Could not load the Qt platform plugin "xcb"

$
0
0
@arsaa There are a lot of hits if you Google for: Could not load the Qt platform plugin "xcb". Start from e.g. https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found, or others if they are more akin to your situation.

[[qanda:topic_unsolved]] Create installer with Visual Studio 2017

$
0
0
Use windeployqt to collect all needed libs.

[[qanda:topic_solved]] Building QT 5.12 on CentOS 6

$
0
0
@pdevanne Hi, Have you finally solved this problem with qt5.12.0, I had the same problem as you with qt5.12.0.

[[qanda:topic_unsolved]] QWT library not found

$
0
0

Hi,
I am getting this error while building Qwt example in Qt Creator
:-1: error: LNK1104: cannot open file 'qwtd.lib'
Please help me to solve this. Thanking you.

[[qanda:topic_unsolved]] Deployment Problems Again

$
0
0
Hi, @QT_fan said in Deployment Problems Again: I placed windeployqt.exe in this folder: C:\Qt\Apps\build-Qt_84-Desktop_Qt_5_14_1_MinGW_32_bit-Release Don't do that. Use the full path to the windeployqt executable.
Viewing all 22112 articles
Browse latest View live


Latest Images

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