[ Solution ]
I want to run my app created with QtSDK
on a machine that does not have Qt
installed.
I tried to copy the DLL's
from the BIN
folder to the release of my project, but it did not work.
I tried the following:
- I copy all
dll's
folderd:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin
- And pasted it in the folder of my project:
d:\projects\mybrowser\mybrowser-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release
- and send it to another computer
without Qt
- In computer
without Qt
, I installedvcredist_sp1_x86.exe
and tried to run my applicationbrowsertest.exe
The following error occurred:
microsoft visual c++ runtime library: this application has requested the runtime to terminate it in an unusual way
Q: What I really want to know:
How do I run an application built in Qt on other computers (Windows) without Qt installed?
Details:
- Qt5.0.1 32bit
- mingw 4.7 32bit
- QtCreator 2.6.2
- Windows 7 64bit.
- Intel i5
Folders:
- D:\Qt\Qt5.0.1\5.0.1\mingw47_32
- D:\Qt\Qt5.0.1\Tools\MinGW
Qt/Mingw:
- D:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin\qmake.exe
- d:\Qt\Qt5.0.1\Tools\MinGW\bin\gcc.exe
File .pro:
QT += webkitwidgets network core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = browsertest
TEMPLATE = app
RC_FILE = browser.rc
SOURCES += main.cpp\
mybrowser.cpp
HEADERS += mybrowser.h
FORMS += mybrowser.ui
If any information you missed, please let me know. grateful
D:\Qt\Qt5.0.1\Lib
andD:\Qt\Qt5.0.1\plugins
directory. I usually use Process Monitor to find missing dependencies. – huysentruitw