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 50.8k Posts
QtWS25 Last Chance
  • Using OS scope before setting MAKEFILE_GENERATOR

    2
    0 Votes
    2 Posts
    3k Views
    T
    How are you trying to build that project of yours?
  • Cross compile Qt 5 error

    4
    0 Votes
    4 Posts
    3k Views
    A
    To be honest, I cannot see what's wrong at all if I'm looking at your pastebin, there is no obvious error message in the build log. ;) Please ignore my post in case I'm wrong, otherwise I would suggest the following: If you're building with make in parallel mode the error can happen already before the sqlite plugin build (Error 2 for example already occurs in [sub-meego-make_default] module). So my next step would be to run make with -j 1 to to see where exactly the error happens.
  • 0 Votes
    5 Posts
    5k Views
    J
    My hardware comes from China vendor and their people have done the embedded Linux installation and Qt port. What can/should I look for as far as files to know if QtQuick/QML is supported? console output from a QML sample application built for the target indicates the following: qrc:ellipse5.qml:1:1: module "QtQuick" is not installed Thanks in advance, John
  • [Solved]Qt SDK 1.2.1 on flash drive

    2
    0 Votes
    2 Posts
    2k Views
    sierdzioS
    Use a unix-like OS, it's simple to do it there. As for windows, if you mean to set the drive letter for qmake, it is possile (just add some global variable holding the drive letter, and use it in all paths). If you mean setting it in QtCreator itself, I don't think it's possible.
  • Deploy (mac) with include in bundle other command

    2
    0 Votes
    2 Posts
    1k Views
    A
    The RESOURCES directive only takes a valid qrc file as input, what you're probably looking for are deployment folders: You can add a deployment folder to your project file like: @myFolder.source = ext DEPLOYMENTFOLDERS += myFolder@ (will then get bundled in the Resources subdir of your mac app bundle) Alex
  • [Qt5]Building Qt5 on Ubuntu 12.04[solved]

    5
    0 Votes
    5 Posts
    14k Views
    T
    Maybe it is a localization issue where the script expects english output and gets whatever language you are using. try running "LANG=C LC_ALL=C ./configure" to force the non-localized strings to appear.
  • What is the typical process to create an installer (.exe file) in Qt

    3
    0 Votes
    3 Posts
    1k Views
    F
    I will take a look at it. Thanks a lot.
  • How to release a Linux application

    3
    0 Votes
    3 Posts
    3k Views
    K
    As raaghuu already suggested. You may also choose the "deployment" tag which has been assigned already to your post. As some of the first entries you will find "the wiki page on building installers":http://qt-project.org/wiki/BuildingQtInstallers
  • [SOLVED] CMake new macros for Qt5

    2
    0 Votes
    2 Posts
    6k Views
    G
    Found the problem. The above code should work. My fault was using QT_WRAP_CPP instead of QT5_WRAP_CPP. Seems like moccing in Qt4 and Qt5 is different. But there is auto-moccing functionality in the new version of CMake, so will use that in any way.
  • Qt4.8.1 undhandled exception at QMdiArea::addSubwindow

    2
    0 Votes
    2 Posts
    2k Views
    D
    Ok, I found the problem. It is a bug in the MSVC++ compiler. Installing the "service pack":http://www.microsoft.com/en-us/download/details.aspx?id=23691 and recompiling Qt again helps.
  • [CMake] Windows 8 & Qt

    7
    0 Votes
    7 Posts
    7k Views
    T
    The best solution is to create *.bat file which will set environment for you in console window. There must be all environment variables and commands. Try to inherit qmake environment batch.
  • [SOLVED] Big Problem for Symbian - Port in use!

    3
    0 Votes
    3 Posts
    1k Views
    A
    Ok I'll do that! Thanks a lot. [quote author="Tobias Hunger" date="1342248955"]I think you can expect more qualified help to this question over at "developer.nokia.com":http://www.developer.nokia.com/ . They are pushing forward the CODA work as far as I know.[/quote]
  • SIS File Creation Self Signed Not Installing on Phone

    6
    0 Votes
    6 Posts
    3k Views
    A
    Hi, i did not change any settings but was able to generate a .sis file from Build which can be installed but if i go to generate a .sis file using publish project it still dose not work. May be some setting is wrong in the Publish wizard but have a temporary fix.
  • Qt SDK 1.1 Beta - Qt 4.7.2 - Problem with macdeployqt

    19
    0 Votes
    19 Posts
    9k Views
    C
    Ok, my fault :-) Stupid of me ... So I developed a plugin that application dynamically load it. I did not apply mentioned scripts for this plug-in, but only for main application. Now all is working better ... Thanks.
  • Problem installing qwt plugin

    9
    0 Votes
    9 Posts
    8k Views
    U
    Your problem was that you have to be root to install files to /usr/local. If you would have cobfigured a target directory where you have write permissions ( edit qwtconfig.pri ) you would have been able to install Qwt as regular user. Even if you seem to be "successful" I want to add a comment to everybody reading this: never do it this way !!! I had so many support requests that have to do with bad installations of people following advices like the one above. Most of the frustration with installing Qwt has to do with them, so that I started to mark them as "please don't" wherever I read them. So please excuse me insisting on the advice: follow the steps in the INSTALL file. When you run into problems ask on the Qwt support channels - but never (!) start copying files manually around like above. Uwe
  • Qt-win-opensource-4.8.2-mingw.exe can't install

    2
    0 Votes
    2 Posts
    5k Views
    ZlatomirZ
    The sdk might be easier to install (mainly because it contains everything you need Qt framework, creator, designer, mingw c++ compiler, etc). Anyway, you didn't tell us if you tried what the error suggested as a fix, have you re-download the installer and end up with the same error? The installer could get corrupted while downloading. And a second thing you can do is: move the downloaded file from eg: My Documents\Downloads to another path (on Desktop or another partition) and then start the installation, i saw this a couple of times, but i don't know the cause - might be some security policy that restricts the installation from those locations.
  • Qt 4.8.2 under Visual Studio: unresolved external symbol

    5
    0 Votes
    5 Posts
    7k Views
    K
    [quote author="sonocu" date="1342108088"]Thanks for your suggestions! It seems that I verified that something went wrong during the build of Qt: Originally I downloaded a lot of files and performed the configure and nmake step. probably I did not set up the configure options probably or the files I used for installation were incomplete. I could not even make a Qt application with an empty GUI run, because it always stops at the Linking stage. So I deleted the old Version and downloaded an exe found here: http://qt.nokia.com/downloads/sdk-windows-cpp-offline After installing, I tried the simple Qt application, which now can be build. :) (still under visual studio) To make my project run I probably have to adapt some more settings inside of Visual Studio. Anyway I made it run under Linux, so it's probably just a matter of time and finding the correct buttons. (Testing several settings using makefiles sure does not take so long! ) Anyway I will probably change to SDK in the longrun, as you both advised. Seems to be more comfortable. Thank you very much![/quote] In case you like to compile Qt for MSVC you should not use the sources supplied with the SDK. Use then the zipped sources from "here":http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-4.8.2.zip
  • Installation of Qt 4.8.2 doesn't work [Solved]

    8
    0 Votes
    8 Posts
    3k Views
    sierdzioS
    Instructions for LFS are tweaked to suit LFS needs, you don't need to follow them on other systems.
  • Destructor randomly throw EXC_BAD_ACCESS

    9
    0 Votes
    9 Posts
    4k Views
    L
    I do not recommend doing so, because it is just an alleged saftey net, which will stab you in the back once you rely on it. Keep in mind that there can be an arbitrary number of pointers referencing the same object, not just the one used to delete or create the object. @ QObject *object = new QObject; QObject *sameObject = object; QObject *anotherObject = new QObject(object); deleteAndNullifyPointer(&object); deleteAndNullifyPointer(&sameObject); // BANG, already deleted deleteAndNullifyPointer(&anotherObject); // BANG, already deleted @ There is just a single solution to memory management in C/C++: having a well-defined model when objects are created and deleted and who is responsible for that. There are two automatisms in Qt that will help you here. The ownership mechansim already explained and "smart pointers":http://labs.qt.nokia.com/2009/08/25/count-with-me-how-many-smart-pointer-classes-does-qt-have/, which are kind-of what you are trying to implement.
  • Qt5 QtWebKit build

    9
    0 Votes
    9 Posts
    14k Views
    C
    For more information, I already tried to add directfb or opengl as a qpa platform when I did ./configure with -directfb -opengl. But it was not applied and only xcb platform was built. How can I configure it?