Error Processing Project File Mysql.pro
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Compiling ibase driver for Qt 5.5.1 (msvc2010) up vote 2 down vote favorite I need ibase driver for Qt to work with Firebird databases. I have installed: Windows 7 SP1 32 bit QT 5.5.1-0 (msvc2010 32bit) Source components/ Essentials (5.5.1-0) Firebird 2.1.5 32 bit I try make it as an official site described, but replace cd %QTDIR%\qtbase\src\plugins\sqldrivers\ibase qmake "INCLUDEPATH+=C:/interbase/include" "LIBS+=-lfbclient" ibase.pro with it: make library fbclient.dll in c:\windows\system32 C:\Program Files\Firebird\Firebird_2_1\bin\instclient i f than compile driver ibase: C:\Qt\5.5\Src\qtbase\src\plugins\sqldrivers\ibase>qmake INCLUDEPATH+='C:\Program Files\Firebird\Firebird_2_1\include'" "LIBS+=-LC:\Windows\system32\fbclient.dll" ibase.pro Project ERROR: Cannot load qmodule.pri! Error processing project file: ibase.pro Before i try compile it with qt 5.1.0 (mingw32), and no errors. But with qt 5.1.0 (mingw32) i can't linking fbclient.dll (that, probably, compiled with MSVS). Because of the difference compilers (firebird compiled with MSVC, and was with qt mingw) decided to switch to QT 5.5.1 (with msvc2010). If i run qmake with -d, than C:\Qt\5.5\Src\qtbase\src\plugins\sqldrivers\ibase>qmake "INCLUDEPATH+='C:\Program Files\Firebird\Firebird_2_1\include'" "LIBS+=-LC:\Windows\system32\fbclient.dll" i base.pro -d DEBUG 1: Resetting dir to: C:\Qt\5.5\Src\qtbase\src\plugins\sqldrivers\ibase DEBUG 1: visiting file C:/Qt/5.5/Src/qtbase/.qmake.conf DEBUG 1: C:/Qt/5.5/Src/qtbase/.qmake.conf: entering block DEBUG 1: C:/Qt/5.5/Src/qtbase/.qmake.con
download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home Qt Development Installation and Deployment MySQL + Qt4 + Windows7 = problems [SOLVED] MySQL + Qt4 + Windows7 = problems [SOLVED] This topic has been deleted. Only users with topic management privileges can see it. sibqaai http://stackoverflow.com/questions/35629143/compiling-ibase-driver-for-qt-5-5-1-msvc2010 last edited by Hello! First of all, I'm kinda new to Qt, and especially to MySQL, so sorry if I did newbie mistakes, but I cannot solve it by myself. I met some problems, while I wanted to set up MySQL for my Qt4. https://forum.qt.io/topic/15923/mysql-qt4-windows7-problems-solved I did exactly the discibed steps, from for eg: http://ieatbinary.com/2011/07/11/how-to-enable-mysql-support-in-qt-sdk-for-windows/ and http://qt-project.org/forums/viewthread/15405/ ( they had errors at this point too ) I installed the last QtSources, I downloaded and installed "mysql-5.5.23-win32", from the MySQL's homepage. And I successfully did the first few steps, and then I got some wild errors after the "mingw32-make" command. D:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\mysql>qmake "INCLUDEPATH+=%mySQL DIR%\include" "LIBS+=%mySQLDIR%\lib\opt\libmysql.lib"-o Makefile mysql.pro WARNING: (internal):1: Unescaped backslashes are deprecated. d:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\mysql\Makefile:9: Parse Error (' first: release') Error processing project file: Makefile WARNING: (internal):1: Unescaped backslashes are deprecated. WARNING: (internal):1: Unescaped backslashes are deprecated. WARNING: (internal):1: Unescaped backslashes are deprecated. D:\QtSDK\QtSources\4.8.1\src\plugins\sqldrivers\mysql>mingw32-make mingw32-make -f Makefile.Debug mingw32-make[1]: Entering directory D:/QtSDK/QtSources/4.8.1/src/plugins/sqldri vers/mysql' g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT - DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB - DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_H AVE_SSE2 -DQT_THREAD_SUPPORT -I"d:\QtSDK\Desktop\Qt\4.8.0\mingw\include\QtCore" -I"d:\QtSDK\Desktop\Qt\4.8.0\mingw\include\QtSql" -I"d:\QtSDK\Desktop
qt4: compile errors http://lists.qt-project.org/pipermail/qt-interest-old/2009-February/002822.html on scooters example, from "c++ gui programming with qt 4" Messages sorted by: [ date ] [ https://bugs.mysql.com/bug.php?id=2165 thread ] [ subject ] [ author ] hello, I'm trying to compile mysql plugin for error processing windows. I follow this tutorial: http://wiki.qtcentre.org/index.php?title=Building_the_QMYSQL_plugin_on_Windows_using_MinGW my PATH environment variable is set to: C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Qt\QtCreator\mingw\bin;C:\Qt\QtCreator\qt\bin I created the liblibmysql.a as told in the tutorial. Then I try to run this command error processing project in the /plugins/sqldrivers/mysql directory: qmake -o Makefile "INCLUDEPATH+=C:\Progra~1\MySQL\MySQLS~1.0\include" "LIBS+=C:\Progra~1\MySQL\MySQLS~1.0\lib\opt\liblibmysql.a" mysql.pro But I get an error saying: C:\Progra~1\MySQL\MySQLS~1.0\include" "LIBS+=C:\Progra~1\MySQL\MySQLS~1.0\lib\op t\liblibmysql.a" mysql.pro Failure to read QMAKESPEC conf file c:/qt-greenhouse/Trolltech/Code_less_create_ more/Trolltech/Code_less_create_more/Troll/4.4.3/qt/mkspecs/win32-g++\qmake.conf . Error processing project file: mysql.pro What is the problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090223/9e9465ef/attachment.html Previous message: [Qt-interest] [OT] RE: cancel
Updates: Status: Closed Impact on me: None Category:MySQLCC Severity:S2 (Serious) Version:0.9.4-beta OS:Solaris (Solaris 8) Assigned to: Bugs System View Add Comment Files Developer Edit Submission View Progress Log Contributions [18 Dec 2003 16:56] William Croft Description: It took me some hours to figure out how to build mysqlcc from source on Solaris 8 using gcc. I am NOT a Qt or 'configure' / autoconf developer, so I found the error messages quite cryptic. And your script seems to be broken as far as QMAKESPEC goes. Searching various places including this bug list turned up no advice. I would add "User Comments" to the mysqlcc manual section on installation, but I see no way of doing that. Below is my script that finally worked for me. Maybe you can have a platform addendum on your install section... Frankly, I'd prefer if you just bundled in mysqlcc with the mysql binary!! How to repeat: Just try to "./configure", it will abort with: ... checking for "/usr/local/mysql/lib/libmysqlclient.a"... yes checking for mysql_real_connect in -lmysqlclient... no configure: error: Could not find libmysqlclient in '/usr/lib /usr/lib/mysql /usr/local/lib /usr/local/lib/mysql /usr/local/mysql/lib' Then when you finally realize it's because of the missing socket libraries, and fix that with LDFLAGS, qmake will die with: ... Creating Makefile with qmake Failure to read QMAKESPEC conf file /usr/local/qt/mkspecs/solaris2.8/qmake.conf. Error processing project file: /space/home/croft/blue/mysqlcc-0.9.4-src/mysqlcc.pro qmake failed, aborting This is because QMAKESPEC is set wrong in your script. Suggested fix: #!/bin/bash # make mysqlcc on Solaris 8, need socket libs, and math lib export LDFLAGS="-lsocket -lnsl -lm" # qt stuff export QTDIR=/usr/local/qt export PATH=$QTDIR/bin:$PATH export MANPATH=$QTDIR/doc/man:$MANPATH expo