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.3k Posts
  • Cant build Firebird driver

    2
    0 Votes
    2 Posts
    2k Views
    M
    i have this problem two but in sql this say "QIBASE is not supported' you have tried: "https://code.google.com/p/qtfirebirdibppsqldriver/":https://code.google.com/p/qtfirebirdibppsqldriver/ ? "Here a little more of what i tried":https://qt-project.org/forums/viewthread/35608/
  • Does Qt 5 support Visual studio 2013 ?

    2
    0 Votes
    2 Posts
    2k Views
    M
    I tried to use it but have to install 2012... 2013 do not work for me, but there might be some way to use, just do not know which
  • 0 Votes
    4 Posts
    11k Views
    S
    Hi oddity, I am also trying to install Qt-5.1.0(latest) on SLED(suse linux enterprise desktop) but i am not able to running qtcreator after installing Qt . While running time i am getting errors. Can you see following Qt posts here you can observe what is problem. http://qt-project.org/forums/viewthread/35038/ http://qt-project.org/forums/viewthread/26399/ All are suggesting compile Qt source code, but while compile time also getting issues. I think you have already succeeded with Qt-4.8.4 but for me that is also failed same error getting as i got while running qt-5.1.0. Can you please help me to run any version of Qt on Suse linux enterprise Desktop 11 Thanks Sreeram
  • Qt 5.1.0 and MySQL 5.5.32 "Driver not loaded"

    22
    0 Votes
    22 Posts
    30k Views
    K
    [quote]It is also strange, that you did not have precompiled plugin, because I had. [/quote] I had precompiled plugin, but the command ldd show dependency inconsistency. That's why I compiled it manually. [quote]2) Installed libmysql++3 libmysqlclient-dev libmysql++-dev[/quote] All these packets are newest in the system. [quote]4) Installed libicu-dev[/quote] Ok, I did not have this packet, now it has been installed. But the result is the same, "Driver not loaded Driver not loaded" . [quote]1) Delete any libraries from your program. 2) Try QPluginLoader on ~/Qt/5.1.1/gcc/plugins/sqldrivers/libqsqlmysql.so[/quote] I did it. This is my connection code @ db = new QSqlDatabase(); db->addDatabase("QMYSQL"); db->setHostName("localhost"); db->setDatabaseName("myclinic"); db->setUserName("root"); db->setPassword(",trth12"); QPluginLoader loader("/home/test/Qt/5.1.1/gcc/plugins/sqldrivers/libqsqlmysql.so"); loader.load(); qDebug() << loader.errorString(); qDebug() << "drivers: "<< QSqlDatabase::drivers(); if (db->open()) qDebug() << "Success!"; else qDebug() << db->lastError().text();@ This is output text @Starting /home/test/QtProjects/build-MySQLGUI-Desktop_Qt_5_1_0_GCC_32bit-Debug/MySQLGUI... "Unknown error" drivers: ("QSQLITE", "QMYSQL", "QMYSQL3", "QPSQL", "QPSQL7") "Driver not loaded Driver not loaded" @ These commands I have done in system console @test(at)penguin:~/Qt/5.1.1/gcc/plugins/sqldrivers$ ls libqsqlite.so libqsqlmysql.so libqsqlpsql.so test(at)penguin:~/Qt/5.1.1/gcc/plugins/sqldrivers$ ldd libqsqlmysql.so linux-gate.so.1 => (0xb7764000) libmysqlclient.so.18 => /usr/lib/i386-linux-gnu/libmysqlclient.so.18 (0xb741e000) libQt5Sql.so.5 => /home/test/Qt/5.1.1/gcc/lib/libQt5Sql.so.5 (0xb73de000) libQt5Core.so.5 => /home/test/Qt/5.1.1/gcc/lib/libQt5Core.so.5 (0xb6f5a000) libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6e75000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb6ccb000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6cb5000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb6cb0000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb6c94000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb6c68000) libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6c4a000) libicui18n.so.51 => /home/test/Qt/5.1.1/gcc/lib/libicui18n.so.51 (0xb6a28000) libicuuc.so.51 => /home/test/Qt/5.1.1/gcc/lib/libicuuc.so.51 (0xb68af000) libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb68ab000) librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb68a2000) libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb67a9000) /lib/ld-linux.so.2 (0xb7765000) libicudata.so.51 => /home/test/Qt/5.1.1/gcc/lib/libicudata.so.51 (0xb5260000) libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb5223000) test(at)penguin:~/Qt/5.1.1/gcc/plugins/sqldrivers$ @
  • MacOS X Mavericks/Xcode 5 Qt 4.8.5 can't find Make

    15
    0 Votes
    15 Posts
    5k Views
    B
    To Raul - if you're interested, there's a discussion of this phonon build failure over in this thread: https://qt-project.org/forums/viewthread/35625/
  • Qt Application + Mac Os 10.9 Maverick

    7
    0 Votes
    7 Posts
    4k Views
    D
    Actually I did, and the error did not disappear. But I have not tried 5.2RC - I will try it tomorrow and let you know. Thanks for help.
  • Cant' run a more complex project from Command Prompt

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Qt Creator is built with VS, which is why you had this problem.
  • 0 Votes
    3 Posts
    2k Views
    J
    Hi .. I was able to figure out my problem. After MUCH research by searching the Internet and trial -n- error ... It turns out that I was using the wrong bin folder (C:\Qt\Qt5.1.1\tools\QtCreator\bin) as the source for copy .dll files to the folder containing the .exe I was trying to get to work on it's own. The error messages I was encounter was NOT clear to this person who is NEW to using QT. I ended up using the Folder C:\Qt\Qt5.1.1\5.1.1.\mingw48_32\bin (Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) as the source for those .dll files that needs to be copied from. I guess I was lucky with the other QT version (Qt 5.1.1 for Windows 32-bit (VS 2010, 505 MB) that I was using before I had to uninstall it and install another version of QT (Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB) as to get the project to compile/run correctly. I would highly recommend you make a copy of this folder as working folder to be used as the SOURCE because it so easy to end up moving/deleting those files in process of getting those .exe files to work such that you would end up having uninstall/re-install the QT again as a starting place.
  • Qt 5.2 Mac Appstore Would Reject QtWebkit - How to Fix it

    3
    0 Votes
    3 Posts
    3k Views
    K
    Kevins-MacBook-Pro-2:qt5 kevin0722$ otool -L qtbase/lib/QtWebKit.framework/Versions/5/QtWebKit qtbase/lib/QtWebKit.framework/Versions/5/QtWebKit: .... /usr/lib/libsqlite3.dylib (compatibility version 9.0.0, current version 9.6.0) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0) libicui18n.52.dylib (compatibility version 52.0.0, current version 52.1.0) libicuuc.52.dylib (compatibility version 52.0.0, current version 52.1.0) ../lib/libicudata.52.1.dylib (compatibility version 52.0.0, current version 52.1.0) ..... Hacked my app together and it works on dev machine. Seems promising. Need to update my build automation, add install_name_tool to correct path, and test build on 10.8 and 10.9. I will report back later.
  • Qt 5.2 + gstreamer support

    7
    0 Votes
    7 Posts
    7k Views
    M
    Got it working witch x86 VS2010 and “qt-windows-opensource-5.2.0-rc1-msvc2010-x86-offline.exe". My mp4 videos are playing ok with simple <video> tag. The problem occured to be something else and it's quite interesting. I got my Windows on the virtual machine and sound card was disabled. All the videos that had sound did not play at all. All the ones that had no sound played correctly. Once I enabled the sound card in the Virtualbox settings all the videos started to play.
  • Qt 5.1.1 on win7 code compilation not working!

    6
    0 Votes
    6 Posts
    2k Views
    MucipM
    Hi, I installed 32 bit MinGW and working perfect both building and code compilation... Thanks a lot... Regards, Mucip:)
  • Qmlscene segmentation fault

    2
    0 Votes
    2 Posts
    1k Views
    sierdzioS
    I think Qt developers may be interested in this. Please post your findings to the development "mailing list":http://lists.qt-project.org/mailman/listinfo.
  • 0 Votes
    8 Posts
    6k Views
    S
    Hi rolandqt, Is openSUSE 12.3 is supporting for running Qt-5.0.0 ????? Thanks Sreeram
  • Strange Error message with extern "C" for 2nd set used.

    1
    0 Votes
    1 Posts
    570 Views
    No one has replied
  • What's best for my old Win XP system? I have MSVS2008.

    6
    0 Votes
    6 Posts
    2k Views
    H
    Yes, I have already been informed that Qt will no longer support XP. There is however, I think useful information in the bug report concerning inconsistencies in the tutorial, that should have nothing to do with my old hardware. I hope someone sees that. I am looking into getting a newer computer today. I also think that seeing the kind of bugs and crashes I have seen is an indicator that there could be significant problems hiding that may at times manifest on newer hw. It seem unstable, too much random stuff going on. I would feel much better about it if it said things like: Error - cannot run with less than ________ RAM or Requires openGL 2.0 or better. or Windows ___ is not supported. Do you wish to continue? or Warning Qt Creator my not run properly with limited memory. In other words "crash gracefully"
  • QTWebEngine not building

    2
    0 Votes
    2 Posts
    2k Views
    P
    Ok, the issue was QT 5.2 Beta. Once I uninstalled that and went back to using Qt 5.1.1 it built.
  • PostgreSQL plugin building in Windows 7

    18
    0 Votes
    18 Posts
    9k Views
    SGaistS
    Just stumbled upon "this":http://qt-project.org/forums/viewthread/24460 Worth a try
  • Deploying desktop application on android

    1
    0 Votes
    1 Posts
    912 Views
    No one has replied
  • Qt 4.8.5 or 5.1?

    3
    0 Votes
    3 Posts
    2k Views
    M
    Thanks Sierdzio. [quote author="sierdzio" date="1386001819"]An update to Qt 4.8.5 should be completely painless, it is fully compatible. So you can do this more or less instantly. Qt 5 introduced many changes, new dependencies, some classes were deprecated, moved or removed. The transition is - in most cases - not very hard (for a huge project of several hundred kLOC it took me like 2 hours), but it is a harder operation. So my recommendation would be to update to Qt 4.8.5 right away (BTW. Qt 4.8.6 will be released in a couple of weeks). Then, if you have some spare time, try porting to Qt5 (see "the porting guide":http://qt-project.org/doc/qt-5.1/qtdoc/portingguide.html). If you are happy with the results, you can do the official move.[/quote]
  • [Solved] Windows: deployment failure on non-development machine

    9
    0 Votes
    9 Posts
    4k Views
    B
    Well, that would go a long way to explain what I'm seeing :-) Thanks!