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
  • QXcbConnection: Could not connect to display :0; Could not connect to any X display

    Unsolved
    1
    0 Votes
    1 Posts
    731 Views
    No one has replied
  • Font directory from Qt4 to Qt5

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Use QFontDatabase to use your own set of fonts for your application. As for the style warning, I can't comment as I don't know what distribution you are running nor the window manager or desktop environment.
  • problem related to the file .exe

    Solved
    13
    0 Votes
    13 Posts
    8k Views
    P
    I keep having the same issue with Qt 5.10.1 on Windows. It happens every time when I first build for any other platform. After switching to a Windows version it seems the last path part "debug" of the executable is missing. Solution: Close Qt Creator (4.6.0) after switching to a Windiws kit and running qmake. After the restart it finds the executable.
  • No application window on Fedora

    Solved
    4
    0 Votes
    4 Posts
    759 Views
    K
    It looks like Fedora uses Wayland by default, logging out and changing the env to "Gnome on Xorg" fixed the issue, gonna look into how to deploy QtWayland too.
  • Native Build Raspberry

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    jsulmJ
    @ClementD You need to install dev packages for OpenGL. See here: http://doc.qt.io/qt-5/linux.html sudo apt-get install build-essential libgl1-mesa-dev
  • 0 Votes
    7 Posts
    2k Views
    F
    @jsulm said in Qt creator cannot successfully start app built with custom built qt bundle on windows: @farta clone means here cloning from Qt repository (git clone) Thank you. I never clone it from Qt repository.
  • Problem with QT linquist

    Unsolved
    4
    0 Votes
    4 Posts
    692 Views
    jsulmJ
    @RobertF Is your Kit configured properly in QtCreator (any warnings/errors)?
  • NDK directory structure problem

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    JulianJ
    I could fix it downloading the NDK and using it without the path that there is in adnroid studio. Thanks.
  • QXCBEGLWindow problem in cross-compile

    Unsolved
    1
    0 Votes
    1 Posts
    351 Views
    No one has replied
  • Question of version QT installation

    Unsolved
    2
    0 Votes
    2 Posts
    360 Views
    mrjjM
    Hi and welcome to the forums 5.10.1 should be fine. In what way -better do you mean ?
  • Over-The-Air Updates

    Unsolved
    3
    0 Votes
    3 Posts
    649 Views
    jsulmJ
    @TomMitchell What OS do you run on Pi3? QtOTA is for embedded Linux systems built using meta-boot2qt.
  • Issues searching bluetooth devices

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    What version of Qt ? What distribution ? What device ? What is your current version of the code ? Did you check with Qt's examples ?
  • Raspberry Pi, correctly linking to the libaries

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    J.HilkJ
    @mrjj I decided to skip the tutorial at this point. At the end of the line I wanted to cross-compile from QtCreator anyway. I have working Qtlibaries, a valid qmake, so why not arrange a QtRaspberry - kit? I followed the 2nd tutorial from qtrpi, you linked earlier, that tackels that topic, and lo and behold, everything works 🙄 Except fonts aparently. I get the error message that fonts are no longer shiped with qt. It doesn't matter anyway for my purpose, because my programm will not have a ui to begin with. It's supposed to controll input/output and interact via TCP/UDP with a remote app. Thanks for your help. A viable lesson learend. Don't be fixated on tutorials. Take what works and go your own way x)
  • Qmake error / cannot find .pro file

    Solved
    3
    0 Votes
    3 Posts
    5k Views
    M
    That worked! Thank you! :)
  • Qt VS Tools-Options-$(QTDIR) Error

    Unsolved qtdir vstools
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Compiling QMultiMedia with WMF

    Solved
    3
    0 Votes
    3 Posts
    952 Views
    J
    Thank you, seems like I need to switch compiler.
  • QML Deployment on Windows doesn't show any window

    Solved
    10
    0 Votes
    10 Posts
    5k Views
    M
    Yes. It did the trick. Thanks,
  • Error building QT 5.9.1 from souces

    Solved
    7
    0 Votes
    7 Posts
    3k Views
    M
    I am compiling from git sources on branch 5.11. Ran into exactly the same issue. Solution by @raven-workx number (1) did not fix it. (2) fixed it.
  • Cross-Platform Raspberry Pi Compilation Issues

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    mrjjM
    Hi With QtRPI script, you mean from here ? http://www.qtrpi.com/home Yes cross compiling is a time sink.
  • QtWebEngine Linux deployment problem

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    S
    Unfortunately linuxdeployqt does not fix this issue, tried the latest, still got: FATAL:zygote_host_impl_linux.cc(182)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid). I have the ICU data and libraries in the right location, e.g. resources/icudtl.dat resources/qtwebengine*.pak translations/qtwebengine_locales/*.pak Any ideas?