Unsolved QSQLITE driver not loaded
-
Just to be sure I understand.
Do you run the RELEASE build from the Creator or
do you try to run with the .exe in the release folder? -
@mrjj I run both of them and receive the same error.
-
did u try to run it from Creator with the SQLIte Dll in RELEASE folder ?
-
I will give it a try
-
@mrjj i tried but it still has this problem.
-
@Anh-Phan
Ok.
Can you try with this test project
https://www.dropbox.com/s/2ggexvrbeciiepw/dbtest.zip?dl=0
Works for me both in DEBUG and RELEASE
running from Creator. -
@mrjj I ran it but it still works only in DEBUG mode, in RELEASE it still has QSqlDatabase: QSQLITE driver not loaded error. I'm kinda confused now.
-
@Anh-Phan
Ok , at least its consistent. :)Do you use mingw or Visual studio ?
I assume you just use the online installer to install Qt and
have not compiled Qt yourself.It must be a some sort of path problem.
Im confused too :)
-
@mrjj i use mingw48_32 to compile, bro.
-
@Anh-Phan
Hmm . me too.
Sorry I have really no idea how it cannot work when release.Did you install using the online installer ?
Have you compiled anything yourself?Can i try your project?
-
@mrjj Yep, i used the online installer.
-
Hi,
Maybe a silly question, but did you check that you currently have the corresponding .dll file in your Qt installation folder ?