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.7k Topics 51.1k Posts
  • Qt Installer Framework: How to Detect Target Machine's Graphic Card Type?

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    I'd go with writing a small helper program that returns what is currently available on the system and then act based on it.
  • problem with QMediaPlayer

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    SGaistS
    It's been added to Qt 5.5.0
  • Qt 5.5 app deployment on Ubuntu 14.04

    6
    0 Votes
    6 Posts
    3k Views
    E
    @paolomanili said: lintian overrides (1) In fact I see many programs placed in /opt in Ubuntu. One consideration .. some installers of Ubuntu place / and /home in separate partition for ease of reinstallation. (2) Although I've installed Debreate I haven't yet progressed to using it for packaging. But this article addresses the points you raise. http://forum.pinguyos.com/Thread-How-to-create-a-deb-from-an-already-compiled-program I'll be interested to see if you get your Qt > deb workflow to a Ubuntu PPA release.
  • Native Build on Raspberry Pi 2, qmake doensn't find *.pri

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, If you want to developer without your HDD then you should install the Qt you built on your Pi.
  • static linking and Multimedia module

    Unsolved
    1
    0 Votes
    1 Posts
    471 Views
    No one has replied
  • module "Qt3D.Shapes" is not installed on QT 5.5.1

    Unsolved
    3
    0 Votes
    3 Posts
    929 Views
    RamitixR
    Actually ,I installed the downloadable version for mac from the website.
  • Installing Qt 5.4 dev packages in Travis CI

    16
    0 Votes
    16 Posts
    12k Views
    H
    In case other people are struggling with the same problem, i left here the template for using latest version of Qt with Travis: sudo: required dist: trusty before_install: - sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty - sudo apt-get update -qq install: - sudo apt-get -y install qt55[QTPACKAGE] script: - source /opt/qt55/bin/qt55-env.sh - /opt/qt55/bin/qmake - make In case Travis upgrade their build system, just change the dist: trusty to whatever distro they upgrade to.
  • 0 Votes
    4 Posts
    3k Views
    H
    Just add -no-c++11 option to the ./configure file. Ok, i made what @granolamatt suggested and it worked.
  • Online installer not working

    Unsolved
    8
    0 Votes
    8 Posts
    6k Views
    JKSHJ
    @Zingam said: Do you have any idea what is preventing the online installer to get the meta information? It just randomly stops from 40% to 99%. And this happens for a few days now. This might explain it: https://forum.qt.io/topic/35768/public-service-announcement-2013-12-21-qt-download-mirror-system-is-partially-broken You can use Resource Monitor to see where your computer is trying to download the files from. Are both of your computers using the same download server?
  • 0 Votes
    2 Posts
    2k Views
    T
    I figured it out. I had to copy the file C:\Python34\Lib\site-packages\PyQt5\qml\QtQuick.2\qmldir to C:\Python34\Lib\site-packages\PyQt5\examples\quick\models\stringlistmod el\dist\stringlistmodel\qml\QtQuick.2. I think pyinstaller should've copied that file as well, but it didn't.
  • MaintenanceTool problem

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    jsulmJ
    Was probably an issue on the server side
  • How to choose 32bit compiler on 64bit QT Creator(Windows7 x64)

    Solved
    15
    0 Votes
    15 Posts
    9k Views
    ChunKai-WangC
    Ah....haha, online installation solved problem...
  • installed app cannot find or load plugin "xcb"

    Solved
    13
    0 Votes
    13 Posts
    6k Views
    E
    Completing the story. Eventually I got myself out of this hole by ... (a) adding a qt.conf file to same location as scribus-ng and scribus-trunk binaries (/usr/bin) [Paths] Prefix= ../../opt/qt55 Translations=i18n Libraries=lib Plugins=plugins (b) adding Qt paths to ~/.profile export PATH="/opt/qt55/bin":$PATH export LD_LIBRARY_PATH="/opt/qt55/lib":${LD_LIBRARY_PATH} (c) reboot Thanks for advice.
  • Unable to complete custom Qt build (5.5.1, x64, msvc 2013, Windows)

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    Igor YI
    @SGaist Thank you, mister ) It works!
  • Building Qt 5.5.1 with MinGW-w64

    Solved mingw64 qt5.5.1 qt5 windows
    4
    0 Votes
    4 Posts
    3k Views
    ZenitFan219Z
    Qt (static link) building with MinGW-w64 compiler ends successfully only with this *.bat (run from MinGW-w64 environment (non cygwin or msys2)): SET _CD=%CD% SET _PATH=%PATH% SET QT_SOURCE=%_CD%\qt-everywhere-opensource-src-5.5.1 SET QT_BUILD=%_CD%\mingw_w64_objs SET QT_DIST=%_CD%\mingw64_Static REM Building Qt SET PATH=C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%QT_SOURCE%\qtbase\bin;%QT_SOURCE%\gnuwin32\bin;c:\python27\;%PATH%; CALL C:\Ruby22-x64\bin\setrbvars.bat ECHO ON PATH PAUSE MKDIR %QT_BUILD% CD /D %QT_BUILD% PAUSE CALL %QT_SOURCE%\configure.bat -prefix %QT_DIST% -debug-and-release -static -opensource -confirm-license -no-icu -nomake tests -opengl desktop -no-compile-examples -no-plugin-manifests -no-audio-backend -no-native-gestures -skip qtandroidextras -skip qtactiveqt -skip qtconnectivity -skip qtdeclarative -skip qtlocation -skip qtmacextras -skip qtquick1 -skip qtquickcontrols -skip qtscript -skip qtsensors -skip qtserialport -skip qtwebengine -skip qtwebchannel -skip qtwayland -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtx11extras -developer-build ECHO ON PAUSE mingw32-make No problems.
  • Building Qt for android on Mac OSX using the crystax NDK

    7
    0 Votes
    7 Posts
    4k Views
    C
    @crystax Hello, here I am again with a similar issue. I'm trying to build Qt (5.6.0-RC) using the last version of your Crystax NDK (10.3.1). My configure command line looks like this: ./qt-everywhere-opensource-src-5.6.0-rc/configure -xplatform android-g++ -nomake tests -nomake examples -android-ndk /Users/ro/lib/ANDROID/crystax-ndk-10.3.1/ -android-sdk /Users/ro/lib/ANDROID/android-sdk-macosx/ -android-ndk-host darwin-x86_64 -android-toolchain-version 4.9 -skip qttranslations -skip qtserialport -no-warnings-are-errors -prefix /Users/ro/lib/QT/Qt5.6.0-rc-android-crystax -android-ndk-platform android-19 -v meaning that I'm using the crystax NDK 10.3.1, my Mac as the host compiling Qt, the 4.9 NDK toolchain version, and the android-19 NDK platform version. Well, after changing QTDIR/qtbase/mkspecs/android-g++/qmake.conf by modifying these lines (Line 83): ANDROID_SOURCES_CXX_STL_LIBDIR = $$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/$$NDK_TOOLCHAIN_VERSION/libs/$$ANDROID_TARGET_ARCH $$NDK_ROOT/sources/crystax/libs/armeabi-v7a ANDROID_SOURCES_CXX_STL_INCDIR = $$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/$$NDK_TOOLCHAIN_VERSION/include $$ANDROID_SOURCES_CXX_STL_LIBDIR/include $$NDK_ROOT/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include the configure script doesn't complain, and running make, it starts compiling. But I'm getting a compile error: qthread_unix.cpp:559:49: error: 'PTHREAD_INHERIT_SCHED' was not declared in this scope pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED); Having a look at the source file, that piece of code should only be compiling if QT_HAS_THREAD_PRIORITY_SCHEDULING is defined, which isn't true for ANDROID. That makes me think that probably the Crystax NDK (or toolchain, sorry, I'm a bit lost here) is not #defining ANDROID. A similar problem as described in this bug report: https://bugreports.qt.io/browse/QTBUG-41382. (So the compilation process doesn't know we are building for Android?) Also it's worth mentioning that replacing the Crystax NDK by the current Google provided "android-ndk-r10e", the compilation is successful. Any idea on how could I successfully compile Qt for Android using the Crystax SDK? Thanks, Robert.
  • Qt creator not working/compiling

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    vinay133V
    Thank u so much @chris for your support. i got my Qt compiling my code
  • Qt for different target in ubantu

    Unsolved
    4
    0 Votes
    4 Posts
    867 Views
    SGaistS
    A bit outdated, are you locked to that old version ? What about my other questions ?
  • Can't compile QT 5.5 source to static

    Solved
    10
    0 Votes
    10 Posts
    3k Views
    djmassiveD
    Other way was to create plugin directory, and insert platform directory inside plugin folder. This makes my app works well on any windows system :-)
  • Issue about Qt 4.8

    Solved
    8
    0 Votes
    8 Posts
    3k Views
    I
    Thanks everyone for your help. In summary, I download and install: Qt 4.8.6 (http://download.qt.io/archive/qt/4.8/4.8.6/qt-opensource-windows-x86-mingw482-4.8.6-1.exe) QtCreator 2.5.2 (https://download.qt.io/archive/qtcreator/2.5) MinGW 4.8.2 (from https://wiki.qt.io/MinGW, I select the appropriate link to Qt 4.8.6) Now I can build my application. Problem solved.