Unsolved build dinamic an application
-
I have deployed an application witch contains a database in sql and a qrpt librairie. It compiles in release mode. After that I used windeployqt , which make work the application standalone. But when I rename the qt directory, the application stop working and throw me an error message: "This application has requested the Runtime to terminate it in an unusual way. Please ...". I used also dependency walker, dumpbin, tasklist, ListDLLs. It doesnt work and says same error message. Please help.
-
If visual studio compiler is used, did u also include the
vs runtime ?You should list, compiler, qt version and platform :)
-
If Qt folder name is changed the toolchain path , compiler path changes.
You can update using Qtcreator
Tools>options>Build&Run>
Change in Qt version tab, - qmake location
change in compiler tab - compiler path -
I used mingw 4.8.2 32 bit, Qt 5.3 32bit and windows 7 to build application on the first computer, where she works good.
-
Hi
I used
http://www.tripleboot.org/?p=138
for my first deployment folder -
@mrjj when i run an simple application on another computer (with he dlls from windeployqt) it works. maybe the qtrpt librairie is the problem.
-
-
@mrjj and what can i do ...is something to do?
-
@vicarod
Ehh, if you copy the qrpt dlls to your deplyment folder.
It still dont work? -
@mrjj in the directory "QtRptProject 1.5.5 binary for windows" are the same dlls like in a simple qt application and an additional QtZint.dll. I tryied to copy all these dlls to the directory of my application but did not work.
-
@vicarod said:
QtZint.dll
Hi
Maybe you need to build your own QtZint.dll
You should NOT copy qtDlls from any folder then
the compiler folder under Qt.
Mixing versions of Qt Dlls will only bring u pain. -
@mrjj i will try that. thanks.
-
@vicarod
Yes please try again.
And make VERY sure dont mixing debug and non debug Qt Dlls.
The debug has d in name
SO for debug ONLY debug dlls. ( d in last name)
For release ONLY release dlls.