Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all 2113 articles
Browse latest View live

MySQL-Plugin for QT 5.3.1 under OsX 10.9

$
0
0
Hello, i hope somebody can help me – i just invested like 3 days and 4 nights without any success trying to build the mysql drivers for QT on my mac osx 10.9 mavericks I got an Debian Linux (wheezy) server running the MySQL-community edition (mysql-server_5.6.20-1debian7_amd64.deb-bundle.tar) i have QT 5.3.1 (qt-opensource-mac-x64-android-ios-5.3.1.dmg) when i try to build/run a program i got the following issue: ————————————————————- QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7 ————————————————————- i tried nearly everything but now i am on a state on like completely starting again can someone maybe help me on a clean installation of the correct packages of QT and so on to be able to run a mysql connection to a different host including building the mysql-plugin to connect to that different host ? thanks in advance B.

[SOLVED] Looking for a full list of flags for QT 5.3's "configure" tool

$
0
0
I want to build QT 5.3 on Windows and would like to know which command-line flags are available to me. When I run configure -help (or —help, -h), instead of offering me a list, the building process appears to start. The documentation is kept brief on this. Any help appreciated, thanks. Edit: Nevermind, the list of flags comes up after some compilation is done. I wasn’t expecting that, so I aborted too early.

Release build works fine on Dev machine, crashes immediately on others

$
0
0
Using VS2010 with qt5.2.1. My application works fine on my dev machine using release build. I have run it from visual studio and run it by going into release folder and double clicking the exe. both of these work. I’ve also tried copying the release folder to a flash drive and running the executable from the flash drive. still works. What doesn’t work is when I move the file to a flash drive and transfer to a windows 8 laptop and try to run the application there. on the laptop even in compatibility mode the application will run then immediately exit. I tried it on a surface pro tablet and the app crashed in MSVCR100. I have no idea how to fix this. My friend recommended putting message boxes everywhere to see exactly where it crashes. is there any advice specific to that anyone has, or other ideas? thanks.

"Could not initialize egl display: error 12289"- cross-compiled Qt 5.2.1 for Win64

$
0
0
Dear forum, I am struggling a little with a Qt problem hoping that one of you can help me out. I am using the openSuse (based on Fedora) Linux cross-compiler suite for compiling a Qt app for Windows x64. In the past I was using Qt 4.8 without any problems. Now I am porting to Qt 5.2.1. Our tool chain differs a little from the default deployment: Link against MS VC 11.0 C runtime (msvcr110.dll) Link against runtmchk.lib and WbemUuid.lib (from MS SDK) The application opens a OpenGL context using QGLWidget with frame buffers and other stuff from OpenGL 2 (ES subset) Now the problem: The application can not be started. Dependency Walker identifies the following error message: “Could not initialize egl display: error 12289” Any idea, where this may come from ? The problem appears in a virtual machine with Windows 7 guest, and on native Windows 7 I have all mingw, GCC and Qt5 related DLLs beside the executable I installed qwindows.dll in platforms folder I installed the Windows Qt5 SDK and copied the D3D_compiler_47.dll into the path of the executable. Best regards Sebastian

QMAKESPEC has not been set ... Linux

$
0
0
Hi I have cloned a Debian VM in which I perfectly can develop and compile my eLinux project. In the clone I created a new user account and set up everything for this new user. However, building the exact same project with the exact same sources returns: QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: src/qtgui.pro I have echoed all parameters that are in the makefile and they are exactly the same as in the original VM. I have also compared the env to no avail. Does somebody have a clue how I get this thing to build? Thanks McL

Install Qt on W7 x64 pro failure

$
0
0
Hello, i’m a beginer with Qt, and not well started. I started install of Qt creator 5.3.1 using online installer. Download was completed, but install freeze à 89%, with current file Windows Runtime 8.1 ×64 (MSVC2013) (beta). The pc was nearly locked (impossible to run almost every program, task manager included). After half a hour, I have done an Off/on. I retry the install, but it dosn’t work. Following external advice, I downloaded the 5.3.1 OpenGL version. I try to run this soft, but it close without message after 2 seconds. I cleaned the Qt directory. I cleaned the registry. I restarted the install with same result. Nothing happens. Please have you any suggestion ? Thanks for every contribution.

linux install failure

$
0
0
Hi, I’ve been trying for the past couple of days to install Qt 5.3.2 on Debian/wheezy, i386. I’ve tried both the net install and the full download. I’ve tried installing in the home directory of an ordinary user and as root. In all the cases I’ve tried the install fails mid-way through with an error message about being unable to create some particular directory. The directory name given in the error message seems to be completely bogus. If the only way to install Qt on this OS is to build from source, that’s fine. It would be helpful if someone could confirm that so I wouldn’t have to waste anymore time with these install files. Thanks. Bill

Deploy qml application to windows7 some ok some show blank screen

$
0
0
I deploy my QML application to USB and try on diffurent PC which is all the some running Windows7 ×64. But some PC is Ok and some PC show me the blank empty screen . I deploy my app using windeployqt.exe and copy the required qml modle .Here is my app directory. ———————————————- platforms <folder> QtQuick <folder> QtQuick.2 <folder> app.exe icudt52.dll icuin52.dll icuuc52.dll libgcc_s_dw2-1.dll libstdc++-6.dll libwinpthread-1.dll Qt5Core.dll Qt5Gui.dll Qt5Network.dll Qt5Qml.dll Qt5Quick.dll Qt5Svg.dll Qt5Widgets.dll ——————————- Is there missing some files or need to install some package on PC that show the empty screen?

Variables in qt.conf

$
0
0
Can I somehow use variables in the qt.conf [qt-project.org] file? I’d like to use a variable for the users home directory to build the prefix.

Can't build project after Xcode 6 update

$
0
0
I recently updated XCode 5 to XCode 6. But now I can’t build project any more. This is on Qt 5.3.2 Here is the error message: clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk' How this can be fixed? Thanks in advanced!

Cannot unzip, unpack, install any version of qtcreator on ubuntu 12.04

$
0
0
Hi, I have tried downloading the .gz packages but they won’t unzip as described on your X11 documentation I have tried downloading the online .run installers but -even though I ‘allow as executable’ they won’t run Even the .run package (447 MB) won’t execute under ubuntu 12.04 What am I doing wrong?

Compiling on QT Multimedia on the RasberryPi

$
0
0
Hi Everyone, just looking for some general guidance to point me in the right direction. I would like to natively compile and use the Qt Multimedia so I can use the QMediaPlayer class on Rasberry Pi. Would following this tutorial help me achieve this? http://qt-project.org/wiki/Native_Build_of_Qt5_on_a_Raspberry_Pi Would compiling Qtbase mean I get all the modules including QtMultimedia? And do I really need all this?

QSqlDatabase: QMYSQL driver not loaded

$
0
0
Hi there, I’m trying to use MySQL in my application, but for some reason the driver isn’t being loaded. Right underneath that error I also get this: “QSqlDatabase: available drivers: QSQLITE, QMYSQL, QMYSQL3, QODBC, QODBC3, QPSQL, QPSQL7”. Obviously it can find the driver, but it can’t load it. I have MySQL loaded onto my computer and I’m just trying to connect to a test database. I have my path set to the bin folder where libmysql.dll is, but it still refuses to connect, even though it still builds. If anyone could shed some light on this problem I would be really grateful. Thanks! P.S: I’m using Windows 8.1 with MinGW 4.8.2 as the compiler

[SOLVED] QTCreator stopped working after updates MacOS

$
0
0
Hello All, I have a BIG problem. After updating mac os to version 10.9.5, xcode to 6.0.1 and comand line tools to 6.0, QtCreator has stopped working. I can open qtcreator and navigate through my projects. But if I try to build them everything fails. First, it doesn’t find the c++ libraries. I get “<ostream> not found”, “<vector> not found”, etc etc. I’ve solved it adding to the project file “INCLUDEPATH = /usr/include/c+/4.2.1/” before I had “INCLUDEPATH += /usr/include”… But now it fails because it can’t find <OpenGL/gl.h> which is included (# include <OpenGL/gl.h>) in line 102 of qopengl.h…. What is going on??? Any is having the same problems???? Thanks!!!!

Additional QML plugin directory that can be found at build time

$
0
0
For Android deployment reasons (see http://qt-project.org/forums/viewthread/41619/), the only safe way of deploying our custom qml plugins is currently deploying them into the official qml directory inside /qt-dir/<version>/<platform>/qml. This allows Android qmake to locate qml plugins at build time and bundle them correctly into the apk, but it gets ugly quickly as it is not a sandboxed environment. I would like to know if there is a way to indicate another system-wide qml plugin directory that can be used in addition to /qt-dir/<version>/<platform>/qml so that it can be used as a sandbox for custom qml plugins.

Qt 5.3 using 4.8 lib on a mac

$
0
0
Hey I am in need of building a program with the 4.8 libraries on my mac, I have successfully downloaded and installed Qt 5.3 and I have downloaded the 4.8 libraries (not the debug). I am just not sure what I am supposed to do to add the libraries. All help is very much appreciated, Evan Simmons

Windows 8 Metro UI?

$
0
0
Hi all, I was wondering if deploying Qt application on MS Store with Metro UI is currently possible. I’ve googled and went through http://qt-project.org/wiki/Qt-5-on-Windows-8-and-Metro-UI [qt-project.org] but the document is more than 18 months old and I failed to find any further documentation on Metro UI. Can anyone point me in the right direction please? I would like to find out if it can be done and if so, how to do it. Thank you in advance!

Error on creating new project

$
0
0
I installed Qt creator on fedora 17 using ‘yum install’. Now when i create a new project i get this error- !http://vk.com/imdad_7?z=photo248440575_340055962/photos248440575()! I cant figure out how to make things work. Please suggest how or what to do!

Qt Failed plugins - libqdeclarativeview.so

$
0
0
================= Issue ================= I am new to Qt and getting failed plugin errors (2). I have searched around but haven’t able to solve these two errors. They are both unrelated. Any help or direction would be most helpful. Failed Plugins: 1. ~/Qt5.3.1/Tools/QtCreator/bin/plugins/designer/libqdeclarativeview.so Error message* : Not loaded due to potential symbol clashes (QTCREATORBUG-10273) 2. Plugin verification data mismatch ~/../libWidgetDesigner.so.1.0.0 Widget designer is a plugin that I am creating but unsure why it is reporting this error. ================= Environment ================= Qt Creator Version : 3.1.2 Qt – 5.3.1 (Gcc 4.6.1, 64 bit) Host – Linux Fedora 19

two problems on sql support while compiling static lib of Qt,could anyone help me?

$
0
0
Hey! Thanks to read my topic,I’m a newbee on Qt and I’ve been puzzled for almost ONE week with my problems. I want to build a static-linking Qt library of Qt 5.3.2 on windows 7(64bits),and I’ve downloaded the source package and extracted all contents into a directory,and,here is problem one: I configured Qt with “-qt-sql-sqlite“option.When compiling it,I got a fatal error message which said somethings like “…ld.exe : -lqsqlite … can’t find library…” blablabla… I’m very sorry for my forgotting on message details,because I’ve started a new trying of compiling. I’m very surprise about that error because SQLite v3 has been included in Qt(refered in “Qt SQL->SQL Programming->SQL Database Drivers->How to Build the QSQLITE Plugin), and , how to solve it? and… by the way, does it mean that only plugin of SQLite can be built with Qt? Problem two: I’v tried another configuration option which is “-plugin-sql-qsql”, but when I complining Qt I got the error message like this: ..\..\..\sql\drivers\psql\qsql_psql.cpp:59:22: fatal error: libpq-fe.h: No such file or directory  #include <libpq-fe.h> I’v searched all the source directory and could not find the header file named “libpq-fe.h”.With the searching result of this problem on webs I generally understood that was because I didn’t install PostgreSQL’s dev-libs. Well, the questions come: Does all the SQL diver of databases which supported by Qt require their dev-libs or codes while compiling Qt? Because the binary package of Qt contains the binary SQL drivers of all supported databases,could I skip the compiling of SQL drivers while compiling Qt? If it is possible,how to do it? Thanks again for reading this tediously long topic, and please help me!
Viewing all 2113 articles
Browse latest View live