Skip to content

Installation and Deployment

Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
9.8k Topics 51.2k Posts
  • Qt Application hang up in a qt_safe_read function

    Unsolved
    7
    0 Votes
    7 Posts
    710 Views
    M
    Hello, Yes, this application is a Qt4 application built for Beaglebone Black with Angstrom. The application is compiled on my Desktop with a qt cross-compiler for Angstrom and is deployed on the target. The application is very simple. It only contains 3 buttons and 1 label. It does not write or read from any file (see attached pictures). [image: 00fe7fb4-31b4-4158-9897-022bac4976b8.JPG] [image: 7a3715de-432f-4a22-845a-75fe9de0c624.JPG] Thanks.
  • Best embedded platform for Qt/QML

    Unsolved
    1
    0 Votes
    1 Posts
    172 Views
    No one has replied
  • Nothing shown running QML

    Unsolved
    3
    0 Votes
    3 Posts
    585 Views
    M
    A small step forward: if I add -platform linuxfb the applications run! But I have wrong colors. I.e. a red is rendered as blue, yellow as cyan, etc... I expected to use eglfs to use GPU acceleration. Do you confirm that linuxfb is not accelerated?
  • Installation error for cross compiler

    Unsolved
    1
    0 Votes
    1 Posts
    178 Views
    No one has replied
  • How to load QMYSQL driver using Qt 5.12 in Visual Studio?

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    Christian EhrlicherC
    @Aliwiki said in How to load QMYSQL driver using Qt 5.12 in Visual Studio?: What am I doing wrong now? Maybe you forgot to setup the environment? Isn't this hint enough? You did not properly set up you compiler environment but simply opened cmd.exe instead the visual studio command prompt.
  • 0 Votes
    1 Posts
    380 Views
    No one has replied
  • Building qtbase on Ubuntu 19.10 from source

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    SGaistS
    The PySide2 package provides everything needed.
  • no qt platform could be initialized

    Unsolved
    15
    0 Votes
    15 Posts
    22k Views
    S
    @Mugga fantastic you saved me! Thanks!!!!!!
  • How to install QT5.9 on Ubuntu 16.04?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    jsulmJ
    @sharath At some point Qt Company stopped to provide 32bit Qt builds, but I think it was after Qt 5.5, so I would guess that there should be something newer than 5.5. Anyway, do you really have to use 32bit OS?
  • Linker errors while static building Qt5 with mingw on Windows

    Unsolved
    1
    0 Votes
    1 Posts
    406 Views
    No one has replied
  • Issues with plugin and library loading on linux

    Unsolved
    1
    1 Votes
    1 Posts
    225 Views
    No one has replied
  • Yet another "Could not find DRM device" error

    Unsolved
    2
    0 Votes
    2 Posts
    845 Views
    No one has replied
  • App is deployed but translation does not work on iOS (but works in android)

    Unsolved
    5
    0 Votes
    5 Posts
    449 Views
    SGaistS
    Strange, there might be a regression. You should check the bug report system to see if there's something related. If not, then please consider opening a new report providing a minimal compilable example that shows that behaviour. Before that, IIRC, Qt 5.14.1 is around the corner if not there already released, you should try with it first.
  • Ui differs between Qt Creator and deployed

    Solved
    3
    0 Votes
    3 Posts
    406 Views
    T
    @jsulm right Direction, wrong plugin. The Program missed the plugin/styles folder not the plugin/platformthemes. Thanks for pointing me in the right direction.
  • How to build project with QT

    Unsolved
    16
    0 Votes
    16 Posts
    6k Views
    D
    Hello. How did you solve this problem?
  • QBluetooth in Windows Docker Container

    Unsolved
    2
    0 Votes
    2 Posts
    586 Views
    P
    I am going to answer myself. I did a bit more research and I came upon this page: https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/general-bluetooth-support-in-windows, which contains this little statement: "Windows Server 2016 does not support Bluetooth." Honestly, I did not even consider this to be a thing, I just thought all modern Windows versions come with Bluetooth by default. Indeed, when I looked into it, it seems that the entire Bluetooth stack is missing. Because the provided base Docker images are all essentially stripped Windows Server 2016, they all have this problem. I thought I might be able to install the Bluetooth stack to the Docker image, however, it does not seem to be an easy task. So yes, the problem is not with Qt or my implementation, it is with the Windows docker image.
  • Compiling static libs Windows 10 MSVC 2019

    Unsolved
    2
    0 Votes
    2 Posts
    251 Views
    No one has replied
  • Qt Creator fresh install Ubuntu 18.04, will open and close

    Unsolved ubuntu 18.04 error install ubuntu
    3
    0 Votes
    3 Posts
    2k Views
    JonBJ
    @biaspoint I am pleased you have your situation sorted. Purely OOI, because I like shell scripting, why did you bother to put the xargs into your command when dpkg -l | grep qt | awk '{print $2}' would deliver the same result? :) | xargs -n1 echo is a bit of a no-op?
  • Windows Cross compile for Raspberry Pi 3 make && install error

    Solved raspberry pi 3 windows
    9
    0 Votes
    9 Posts
    6k Views
    A
    Just for the sake of completeness, this simple patch enables building qt5script v5.12.7 on Raspberry Pi 3: diff –git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h index a4695a2..897c90c 100644 — a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h +++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h @@ -306,6 +306,9 @@ || defined(ARM_ARCH_7R) #define WTF_ARM_ARCH_VERSION 7 +#elif defined(ARM_ARCH_8A) +#define WTF_ARM_ARCH_VERSION 8 + /* RVCT sets _TARGET_ARCH_ARM */ #elif defined(__TARGET_ARCH_ARM) #define WTF_ARM_ARCH_VERSION __TARGET_ARCH_ARM Similar patches should work on other Qt versions. Credits go to http://lists.buildroot.org/pipermail/buildroot/2017-August/200515.html, http://lists.buildroot.org/pipermail/buildroot/2017-August/200520.html
  • Qt version is not properly installed error when changing the qt build location

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    S
    Hi SGaist, Thank you. I still don't have the qt creator working. This is my folder structure /home/username/machine1/qt5 /home/username/machine1/qt5-host /home/username/machine1/rootfs I have qmake in qt5/bin. I put my qt.conf in there with [Paths] Prefix =/home/username/machine1/qt5 Libraries=/home/username/machine1/qt5/lib Headers=/home/username/machine1/qt5/include After this Qt version in kits get recognised, but throws a warning No qmlscene installed. I tried to change the property of the qmake but it doesn't seems to change. qmake -set QMAKE_SPEC /home/username/nano/qt5-host/mkspecs/device" but it doesn't seem to change. I tried unset, still shows same value on query. Why is it not allowing me to change the properties? I can't compile application because mkspecs path error. Also get error Project ERROR: Cannot run target compiler target compiler path wrong. The folder structure was based on my compile configuration sysroot /home/username/machine1/rootfs prefix /usr/local/qt5 extprefix /home/username/machine1/qt5 hostprefix /home/username/machine1/qt5-host