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
  • Failed to Build boot2qt open source

    Unsolved boot2qt opensource build steps qt 5.7 qt quick
    10
    0 Votes
    10 Posts
    7k Views
    jhiattJ
    @Newsages I've been building for Boundary Devices Sabrelite board (MACHINE=nitrogen6x). I have not tried to build for the emulator.
  • Qt Creator 4.0.1 does not find Qt 5.7.0 examples on Welcome page

    Unsolved
    1
    0 Votes
    1 Posts
    387 Views
    No one has replied
  • Qt5.7 - MessageDialog fall back to DefaultMessageDialog.qml in case of iOS not working.

    Unsolved
    1
    0 Votes
    1 Posts
    480 Views
    No one has replied
  • Qt with MinGW and Glew crash

    Unsolved
    1
    0 Votes
    1 Posts
    524 Views
    No one has replied
  • Qt 5.7.0 on Centos 6.0

    Unsolved
    16
    0 Votes
    16 Posts
    5k Views
    SGaistS
    I'll check the build of libskia_library.a
  • 0 Votes
    20 Posts
    11k Views
    crisosphinxC
    The issue is officially solved. Below are a list of issues I encountered along the way and the full resolution I came to after long hours of debugging... Issues: Windows 10 Anniversary Update killed the environment variables. It may be important to reconfigure / link / delete the current entries / paths for compilation. Link for where to find your Environment Variables. Windows 10 Anniversary Update also created a hang up in some drivers that led to stalling of the code execution for QT Creator and Designer. Be aware of some conflicting drivers or programs (even if they are unrelated to QT / do not use QML or GUI provided by QT). If you are an artist or utilize Wacom Tablets and their software for navigating your desktop (as opposed to a mouse). Please be aware that having more than one Tablet software installed, regardless of it running or being disabled, will cause conflicts. In addition to the above issue, be aware that the Windows 10 Anniversary Update also created a glitch (at least in my installation) that caused the Tablet software to stall on boot of my computer. By failing, it caused a memory leak issue that resulted in QT not functioning. So, if you are experiencing issues similar to mine, uninstall all Tablet software and reinstall the one you use the most, be it Cintiq, Bamboo, Intuos, etc. Fix: I rolled back my Win10 installation. It still had hang ups. I redirected the Environment Variables to the correct locations and uninstalled QT (all forms of it), uninstalled my Tablet softwares, re-installed my Win10 Anniversary Update, installed only my Cintiq software, installed QT, double-checked the environment variables, fixed my boot manager to only include processes I knew I needed and rebooted. It appears to be working fine. A few of my compilers went missing along the way and so did a few brain cells. ;) I had more than a few programs not working, so it took about a weeks worth of effort to figure out which programs were causing problems with other programs. It originally looked like a Windows Defender problem, then the Tablets, then the Realtek drivers, then Visual Studio, then the Tablets again. Sorry for the lengthy post, but hopefully it will assist some people in the near future. Most of my issues stemmed from the Update and I expect that there will be more people with problems.
  • Install Qt 5.7.0 for Android

    Solved
    4
    0 Votes
    4 Posts
    2k Views
    H
    Are you sure you completed the download? You can ascertain this by comparing the size of your downloaded file with the size provided on this page https://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-windows-x86-android-5.7.0.exe.mirrorlist If its the same then it's certainly weird and i'll advise you go with the online installer. This gives greater flexibility during installation by the way Best of Luck.
  • Project ERROR: Unknown module(s) in QT: script

    Unsolved qt5.7.0 build qtcreator source
    14
    0 Votes
    14 Posts
    24k Views
    SGaistS
    Looks like you built the qtscript module successfully, that's why I'm asking whether you ran make install before trying to build the example.
  • How to run from desktop

    Solved
    2
    0 Votes
    2 Posts
    567 Views
    SGaistS
    Hi, If you want to run your application from another folder you have to take the same step as if you would deploy your application on another computer. See this excellent blog article on that matter. There's also the deployment guide for Windows.
  • 0 Votes
    1 Posts
    987 Views
    No one has replied
  • 0 Votes
    7 Posts
    4k Views
    lindevsL
    @lindevs said: libqxcb.so libqxcb.so depends on these .so files: libQt5XcbQpa.so.5 libQt5DBus.so.5 So in my case project structure looks: myapp myapp.sh platforms\libqxcb.so libQt5Core.so.5 libQt5Gui.so.5 libQt5Widgets.so.5 libicudata.so.56 libicui18n.so.56 libicuuc.so.56 libQt5XcbQpa.so.5 libQt5DBus.so.5
  • Configure libraries in static mode

    Unsolved
    2
    0 Votes
    2 Posts
    455 Views
    SGaistS
    Hi and welcome to devnet, What exactly do you mean by "configure static libraries in my app" ?
  • :-1: error: cannot find -lqxmpp

    Unsolved
    2
    0 Votes
    2 Posts
    641 Views
    SGaistS
    Hi, Add LIBS += -L/path/to/folder/containing/libqxmpp.so to your .pro file.
  • cannot find -lqjpeg

    Unsolved
    12
    0 Votes
    12 Posts
    2k Views
    SGaistS
    Did you build both the debug and release version of Qt ?
  • Qt installer stuck

    Unsolved windows windows 7 installer probl
    3
    0 Votes
    3 Posts
    5k Views
    Stefan Monov76S
    Thanks. For now I found it easier to solve my problem by using an offline installer, which worked fine. But I'll keep your advice in mind for the future.
  • Fail to link header files

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    PenguinP
    @chrisosphinx My .pro file: QT += core gui CONFIG += debug TARGET = MA1 TEMPLATE = app HEADERS += functions.h SOURCES += main.cpp SOURCES += display_window.cpp SOURCES += question_generator.cpp !exists(main.cpp) { error("No main.cpp file found") } So I retried your suggestion and noticed something: When I #include <QPushButton>, the folder Code:Blocks look up is /usr/include/qt4/QtGui/qpushbutton.h When I #include “qpushbutton.h”, the folder is /usr/include/qt4/QtGui/qpushbutton.h That's the only difference I got, and I'm not sure if that's the whole main point of my mistake so I decided to show them to you The message is the same “fatal error: QtGui/qabstractbutton.h: No such file or directory” While the qpushbutton.h #include <QtGui/qabstractbutton.h> By the way I got curious and check if the header file is really in the directory... Well it sure is... Lot of thanks!
  • Building Qt 5.4 statically on Windows 7

    Unsolved
    1
    0 Votes
    1 Posts
    290 Views
    No one has replied
  • Problem with launching .exe or compiling and running app

    Solved qt 5.7 exe crashed qtcreator
    8
    0 Votes
    8 Posts
    4k Views
    crisosphinxC
    Fixed my issue, see solution: https://forum.qt.io/topic/70224/qt-creator-open-source-qt-app-installer-uninstaller-hangs/2
  • imagevi3d installation problem

    Unsolved
    2
    0 Votes
    2 Posts
    583 Views
    SGaistS
    Hi, Can you show the error you got in the compilation window ?
  • Yocto: cross-compile problem with QtCreator

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    MilindurM
    Did you find a solution for this problem? I currently have the same issue.