Build exe-file of Qt4-Project
-
So configure is successful ?
-
By the way, which version of 4.8 is it ?
-
Did you check which mkspec gets selected when configuring Qt ?
-
I also tried it that way:
https://wiki.qt.io/How_to_build_a_static_Qt_version_for_Windows_with_gcc
But at the step where to modify the file qtenv.bat I don't find such a file in my Qt-folder.
-
@SGaist said in Build exe-file of Qt4-Project:
This one looks more recent.
This one also doesn't work.
I tried now the tool windeployqt which comes with Qt5, but it seems to work only with Qt5-binaries. It would be enough if I could pack the exe file of my project with the necessary dlls in one folder so it runs on every Windows computer.
-
Then use Dependency Walker to get the dll used by your application and add the necessary plugin if any is needed and you should be good to go.
-
What do you mean by doesn't work ?
-
Which exactly ?
-
What entry point is missing ?
-
When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html
I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.
-
@koahnig said in Build exe-file of Qt4-Project:
When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html
I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.
where can I find the dll?
-
@magguz said in Build exe-file of Qt4-Project:
@koahnig said in Build exe-file of Qt4-Project:
When using in google "_ZNSt7__cxx1112basic_string" to search this pops up first https://gcc.gnu.org/ml/libstdc++/2015-03/msg00082.html
I thought you are trying compile with MSVC, but that indicates clearly a MinGW library. The name of that dll is given that the post above.
where can I find the dll?
I found it myself. This dll was missing. Now it works fine! Thanks!