[Qt-interest] Help me using mysql with qt
John McClurkin
jwm at nei.nih.gov
Mon Aug 3 14:19:21 CEST 2009
Aditya Sharma wrote:
> Hello,
> IT didn't solve my problem, I did exactly what it was said there. But
> nmake and make both didn't work. So what should i do now?
>
> On Sun, Aug 2, 2009 at 2:49 PM, Nicola De Filippo
> <nicola at nicoladefilippo.it <mailto:nicola at nicoladefilippo.it>> wrote:
>
> Hi,
> : > i m learning qt. I am beginner programmer who knows C++. But as
> given in
> > tutorials I tried to run programs using mysql database. I have
> wamp running
> > in my windows xp box, so that means mysqld is also running. But
> when i try
> > to build the code in qt creator, it prompts, driver not installed or
>
>
> http://doc.trolltech.com/4.5/sql-driver.html#qmysql
>
I don't know about mysql specifically, but, in reading this thread, you
seem to be trying to mix tool chains. Nmake is a Microsoft Visual Studio
product. Make is a Gnu product. Nmake won't work on Gnu makefiles and
make won't work on Visual Studio makefiles. MinGW is a port of Gnu
compiler collection to Windows, so nmake won't work on any makefiles
created for MinGW. Though make is a standard Gnu command on 'nix
platforms, it is not included in MinGW. The make command for MinGW is
mingw32-make. You could create a bat file called make.bat that called
mingw32-make.
Also, it has been pointed out that 'nix platforms in general and the Gnu
toolchain in particular don't tolerate spaces in directory path names or
in file names.
More information about the Qt-interest-old
mailing list