
Originally Posted by
feuerball11
i can build a release version, it runs fine on my pc. but not on other pcs... it starts, but do not connect.
i added many dlls. but nothing helped.
addded this dlls to the exe:
libmysql.dll
qsqlmysql4.dll
qtcore4.dll
qtcored4.dll
gtgui4.dll
qtguid4.dll
qtsql4.dll
qtsqld4.dll
but with all this dlls, it wont connect to the database -.- and i have no way to see the debug log on other pcs with a compiled exe....
but on my pc it works from all destinations...
The qsqlmysql4.dll file should be placed into a subfolder "sqldrivers" next to the program executable. You may need to place libmysql.dll with it (I am not sure).
You do not need to deploy the debug version of the Qt libraries, qtcored4.dll, qtguid4.dll, or qtsqld4.dll, for a release application. Should look like:
C:\Program Files\MyApp\
MyApp.exe
qtcore4.dll
gtgui4.dll
qtsql4.dll
sqldrivers\
qsqlmysql4.dll
libmysql.dll // possibly here, possibly in directory above
imageformats\
...
codecs\
...
iconengines\
...
C:\Program Files\MyApp\
MyApp.exe
qtcore4.dll
gtgui4.dll
qtsql4.dll
sqldrivers\
qsqlmysql4.dll
libmysql.dll // possibly here, possibly in directory above
imageformats\
...
codecs\
...
iconengines\
...
To copy to clipboard, switch view to plain text mode
Bookmarks