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 5.0 and 'failed to load platform plugin "cocoa"'

    10
    0 Votes
    10 Posts
    27k Views
    Z
    [quote author="bootchk" date="1401976977"]It seems that argv[0] on a sandboxed app returns just the app name, not a path, e.g. 'myApp' instead of .../Contents/MacOS/myApp. So Paul's solution above doesn't work on a sandboxed app.[/quote] What version of Qt? I am using 5.3 and I am getting the entire path from argv[0]. However, one interesting thing is that the line: QDir dir(argv[0]); Will initialize 'dir' with the appname as another folder. Hence, if argv is: /Applications/MyApp/Contents/MacOS/MyApp, QDir will treat that as a folder and you essentially have to cdUp 3 times.
  • [Solved] Cannot download file from an FTP server

    3
    0 Votes
    3 Posts
    823 Views
    SGaistS
    Hi and welcome to devnet, Depending on where you are located you might be directed to a faulty mirror. The online installer might also be a good alternative. Anyway, glad you could finally install it. Since all is ok, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • Help needed: deploying to WP8.x?

    3
    0 Votes
    3 Posts
    797 Views
    SGaistS
    Hi, I haven't yet any experience with WP8.X but did you took a look at this "wiki":http://qt-project.org/wiki/WinRTBuild entry and the links provided ? Hope it helps
  • The difference between Building Qt and Installing Qt

    2
    0 Votes
    2 Posts
    916 Views
    SGaistS
    Hi and welcome to devnet, No, there are also pre-built packages for Qt 4 however there are more versions for Qt 5 due to more platform/compiler combinations supported. For Qt 5 you also have the online installer which allows you to select several version of Qt to install e.g. Desktop, Android etc. Sure you can build it, the documentation provides all necessary informations and you can also find the instructions on this site if you want to build from git's sources.
  • Qt Creator missing after doing full Qt 5.3.1 install on Windows 7

    3
    0 Votes
    3 Posts
    1k Views
    P
    Ah, right. Will do. Thanks for the quick reply!
  • 0 Votes
    2 Posts
    3k Views
    S
    when cross-compiling QT 4.8 for ubuntu you need to enable MYSQL if done then you need to install MYSQL driver for ubuntu go to ubuntu software center from your beagle bone and install libqt4-sql-mysql or simply connect beaglebone to internet simply and type sudo apt-get install libqt4-sql-mysql in terminal the driver will get installed before this ensure that you have installed MYSQL server on beagle bone or do that by typing sudo apt-get install mysql-server*
  • Qt Creator doesn't accept my Android NDK directory

    12
    0 Votes
    12 Posts
    4k Views
    T
    Good work, ondrejandrej. Take care!
  • Can't successfully cross-compile MySQL: cannot find /lib/libpthread.so.0

    3
    0 Votes
    3 Posts
    6k Views
    M
    Has anyone solved this problem? Im having crosscompile issues with MySQL on beaglebone black
  • Maintenance Tool problems

    2
    0 Votes
    2 Posts
    837 Views
    JKSHJ
    Hi, You are probably getting connected to a bad download mirror. See https://github.com/JKSH/QtSdkRepoChooser on how to choose a different mirror.
  • 0 Votes
    5 Posts
    2k Views
    Arty.McLabinA
    Thank you, seems to be working now, also fixed my empty welcome screen.
  • QtWayland on Qt-5.1.1

    1
    0 Votes
    1 Posts
    724 Views
    No one has replied
  • Error: LNK1104: File "glu32.lib" cannot be opened

    11
    0 Votes
    11 Posts
    4k Views
    L
    Thanks, I figured it out once you told me where to go. I didn't realize that all the tabs on the top of the Project section were for the kits.
  • [SOLVED] QTWebEngine not building on OSX 10.9

    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi, Glad you found out and thanks for sharing. Can you also please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • Problem in debuging project

    2
    0 Votes
    2 Posts
    688 Views
    A
    Welcome to DevNet! I assume that you use latest (3.1) QtCreator Please take a look "here":http://qt-project.org/doc/qtcreator-3.1/creator-debugger-engines.html for "Setting Up Debugger" instructions and "here":http://qt-project.org/doc/qtcreator-3.1/creator-debugging.html for general debugging instructions.
  • [Solved] Releasing a software built using Qt?

    8
    0 Votes
    8 Posts
    2k Views
    CAD_codingC
    Yeah seems a bit convoluted. Thanks for explaination! I guess I will re-distribute it just for the sake of it. Apart from that I think ThirdPartySoftware_Listing.txt should also be re-distributed...
  • Qt 5.3.1 build trouble.

    6
    0 Votes
    6 Posts
    2k Views
    JKSHJ
    [quote author="ProgrammerAtHeart3344" date="1407083249"]I downloaded the visual studio add-in for 2013 but doesn't seem to find the directory of Qt.[/quote]You need to tell it where to find the directory of Qt. See this tutorial: http://www.bogotobogo.com/Qt/Qt5_Visual_Studio_Add_in.php Also, are you using the Visual Studio IDE or the console?
  • Not a single QT App starts under Windows 7 anymore

    4
    0 Votes
    4 Posts
    1k Views
    JKSHJ
    Hi, If we have this scenario... Using Wacom drivers kills Qt applications Using Wacom drivers kills Call of Duty Using Qt applications does not kill Call of Duty ...then we can conclude that the problem is caused by the Wacom drivers, not Qt.
  • Qt creator Deployment error

    5
    0 Votes
    5 Posts
    7k Views
    N
    You have a Desktop kit and a Wandboard kit. Which one did you use to compile your application? I 'm using the destop computer to cross-compile for the arm (wandboard)* You are using make from /opt/poky/1.6.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/. Shouldn’t you be using /opt/poky/1.6.1/sysroots/i686-pokysdk-linux/ ? (Make sure you know which files should be used in your desktop, and which files should be used in your Wandboard) I just had a quick search in the folder /opt/poky/1.6.1/sysroots/i686-pokysdk-linux/ for make . I don't find any make file there. Also i tried to use the /usr/bin/make with this i'm getting the following error 15:38:40: Running steps for project clocks... 15:38:40: Configuration unchanged, skipping qmake step. 15:38:40: Starting: "/usr/bin/make" clean rm -f qrc_clocks.cpp make: rm: Command not found rm -f main.o qrc_clocks.o rm -f *~ core *.core make: [compiler_rcc_clean] Error 127 (ignored) make: rm: Command not found make: [clean] Error 127 (ignored) /bin/sh: 1: rm: not found make: [clean] Error 127 (ignored) 15:38:40: The process "/usr/bin/make" exited normally. 15:38:40: Starting: "/usr/bin/make" make make: *** No rule to make target `make'. Stop. 15:38:40: The process "/usr/bin/make" exited with code 2. Error while building/deploying project clocks (kit: wandboard) When executing step 'Make' 15:38:40: Elapsed time: 00:00. But when i manuall cross compile it it works fine 1)/opt/poky/1.6.1/sysroots/i686-pokysdk-linux/usr/bin/qt5/qmake -o Makefile /home/minda/Qt5.3.1/Examples/Qt-5.3/quick/demos/clocks/clocks.pro to generate the makefilr 2)make clean 3)make tBy following the above 3 steps i get success and the clocks code works on the wandboard. I just cant figure out wants qt-creator is errorously set by me which is creating the problem. can you please suggest. Thanks Nilesh Kokane
  • Android deployment with 5.2.0-beta1 fails with code 14

    18
    0 Votes
    18 Posts
    15k Views
    R
    Ok, I've resolved the issue. In my AndroidManifest.xml file I was double-declaring the android:screenOrientation tag. I had android:screenOrientation="unspecified" and on top of that I also had android:screenOrientation="landscape". I successfully reproduced and fixed the error by doubling and removing the android:screenOrientation tag intentionally. I am using Qt 5.3.1. So to other people experiencing the error, double check your XML file. Make sure you clean your build directory. I just delete the whole directory and it just gets recreated. I'd be interested to know if other people did get it fixed and how. Cheers
  • Qt5 configure error

    3
    0 Votes
    3 Posts
    6k Views
    M
    Hi, Had the same problem and after instaling libdbus-1-dev the problem got solved