[SOLVED]can't find the "src" directory to build my QPSQL driver
-
I understand you moved these to QTSDK_SQLDRIVERS_PATH already.
If it still does not work, you may try this:Create a directory sqldrivers** in your app-directory (where your application's exe-file will be built: eg.: myBUILD\Debug\sqldrivers).
and copy the dlls to this directory.
If this does not work, a look at your environment may be useful. -
here is my env.txt file "env.txt...":https://www.dropbox.com/s/43kb0o8zqf8n4hm/env.txt
-
Hi k_arnaud, I've read through your env.txt and found this:
-
your PostgreSQL is still in the directory with spaces: C:\Program Files(x86). You may work with it but you need to use 8.3 filenames then during the build process. You find the exact 8.3 names (eg. PROGR~2) with DIR /x.
-
You must keep in mind, that environment variables declared by SET exist only as long as your current command window. You can always check their existence by using SET. Currently, your variables like QTSDK_SQLDRIVERS_PATH do not exist!
-
-
Unfortunately it's more difficult as it should now.
Are you comfortable with modifying system settings under Windows?I think it will be easier to uninstall PostgreSQL again, delete all directories where both version were installed, install PostgreSQL again in the default directory and work with the 8.3 filenames.
-
Hi Clochydd,
since PATH variable can't be updated automatically when you install a program manually, i do it myself, and it Work without problem(i don't see that error message again "Driver not loaded...").
Now, i have to create all my destroyed databases(i forgot to save them before uninstalling the old version of PostgreSQL).some of them had more than thirty tables.What i hate in creating database is to create foreign keys,it is so redundant...Thank you for the time you've spent on this thread... I would like to keep talking with you.you can follow me on twitter @k_arnaud(search for Arnaud KADIO). Thanks! Thanks! Thanks!