Urgent: Can Qt .exe which contains GUI can be runned in another machine which doesnot have QT and Visual studio 2010 installed
-
Hello all,
I am trying to run an .exe in another machine which does not have Qt and Visual studio 2010 installed.
showing an error as below:
The application was unable to start correctly(0c000007b). click OK to close the application *First time when i run it was asking some dll, i have copied all the dll which it was mentioning.
Please help me in resolving the issue. -
basically you need to deploy all libraries needed. Check "this":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html.
If you ensured that the problem is somewhere else. But you have to give more infos then... -
Which libraries and where to deploy?
-
Hi,
"Qt 5 deployment guide":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html
"Qt 4 deployment guide":http://qt-project.org/doc/qt-4.8/deployment-windows.html
And you should be good to go
-
Thanks for the reply,
Is it required that other system should have Visual studio installed ? -
[quote author="subram_QT" date="1375884769"]Thanks for the reply,
Is it required that other system should have Visual studio installed ?[/quote]
Nope! -
I started Qt 5 deployment guide , but getting an error when i type in command window.
C:\Qt\Qt5.1.0>configure -static
'configure' is not recognized as an internal or external command,
operable program or batch file.I am using widows7 with visualstudio 2010,
what is the wrong step i am doing here?
-
I would recommend that you start with deploying your application dynamically
-
[quote author="subram_QT" date="1375965497"]I started Qt 5 deployment guide , but getting an error when i type in command window.
C:\Qt\Qt5.1.0>configure -static
'configure' is not recognized as an internal or external command,
operable program or batch file.I am using widows7 with visualstudio 2010,
what is the wrong step i am doing here?
[/quote]Did you download a precompiled release package? And want to run configure on that?
The guide you've mentioned is for the source version... since the release packages do not contain a configure. -
Hello all,
I want to have Static build of QT.
I am getting an error when i tried typing configure in command prompt:
'configure' is not recognized as an internal or external command, operable program or batch file.I am using:
Qt Creator 2.7.2
Based on Qt 5.1.0 (32 bit)and MSVS2010.
Can anyone help me in solving this issue.
-
[quote author="subram_QT" date="1378880748"]
Can anyone help me in solving this issue.[/quote]
Not if you don't answer the fundamental question of mine. -
I dont know the answer for your question:(
We have downloaded open source from
http://qt-project.org/downloads
Qt 5.1.1 for Windows 32-bit (VS 2012, 511 MB) (Info)I think we are working on Precomplied one.
-
exactly...you are right ;)
So you need to download the Qt sources and run configure there. Then it should work.
You can download the sources from the same "page":http://download.qt-project.org/official_releases/qt/5.1/5.1.1/single/qt-everywhere-opensource-src-5.1.1.zip you have downloaded the precompiled packages or check them out from git directly.Note:
If you want to distribute your statically linked application you need to meet some specific requirements in order to confirm to the LGPL license. (More infos in this forum or on the internet)