PDA

View Full Version : Running the application



Afflicted.d2
21st October 2006, 19:10
When I finish making an application with Qt how can I make the executable that will run on a machine that does not have Qt... any hints.. =\

jpn
21st October 2006, 19:19
Deploying Qt Applications (http://doc.trolltech.com/4.2/deployment.html)

Afflicted.d2
21st October 2006, 20:48
I've tried building qt statically but I'm getting errors:

Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>cd qt

C:\Qt>cd 4.2.0

C:\Qt\4.2.0>cd C:\path\to\Qt
El sistema no puede hallar la ruta especificada.
The system cannot find the specified route.

C:\Qt\4.2.0> configure -static
"configure" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
"configure" is not recognized as an internal or external command,

C:\Qt\4.2.0>cd C:\path\to\Qt configure -static
El sistema no puede hallar la ruta especificada.
The system cannot find the specified route

C:\Qt\4.2.0>

am I doing this right... am I missing something here?

jpn
21st October 2006, 21:03
There should be a file called configure.exe in directory C:\Qt\4.2.0, is it there? By the way, you might find something useful in QtCentre wiki: Building static applications (http://wiki.qtcentre.org/index.php?title=Building_static_applications).

Afflicted.d2
21st October 2006, 21:18
Problem is ... configure is not there...

jacek
21st October 2006, 21:29
Problem is ... configure is not there...
What do you have exactly in C:\Qt\4.2.0?

Afflicted.d2
21st October 2006, 21:40
Directorio de C:\Qt\4.2.0

10/21/2006 01:43 PM <DIR> .
10/21/2006 01:43 PM <DIR> ..
09/29/2006 09:42 AM 19,206 .LICENSE
09/29/2006 09:42 AM 19,172 .LICENSE-ACADEMIC
09/29/2006 09:42 AM 20,997 .LICENSE-ACADEMIC-US
09/29/2006 09:42 AM 6,379 .LICENSE-EDUCATIONAL
09/29/2006 09:42 AM 6,902 .LICENSE-EDUCATIONAL-US
09/29/2006 09:42 AM 5,536 .LICENSE-EVALUATION
09/29/2006 09:42 AM 5,978 .LICENSE-EVALUATION-US
09/29/2006 09:42 AM 13,985 .LICENSE-QTOPIACORE
09/29/2006 09:42 AM 15,804 .LICENSE-QTOPIACORE-US
09/29/2006 09:42 AM 21,030 .LICENSE-US
10/20/2006 08:46 PM <DIR> .moc
10/19/2006 12:13 AM 971 .qmake.cache
10/21/2006 11:15 AM <DIR> bin
10/21/2006 01:43 PM 0 cd
09/29/2006 09:42 AM 76,958 changes-4.2.0
10/21/2006 01:43 PM 0 configure
10/19/2006 12:12 AM <DIR> demos
10/19/2006 12:12 AM <DIR> doc
10/20/2006 02:04 PM <DIR> examples
10/19/2006 12:12 AM <DIR> include
09/29/2006 09:42 AM 2,445 INSTALL
10/19/2006 12:13 AM <DIR> lib
10/19/2006 12:14 AM <DIR> mkspecs
10/19/2006 12:13 AM <DIR> phrasebooks
10/19/2006 12:12 AM <DIR> plugins
09/29/2006 09:42 AM 4,638 projects.pro
10/20/2006 08:46 PM 2,237 projects.sln
09/29/2006 09:42 AM 340,759 q3porting.xml
10/19/2006 12:13 AM <DIR> qmake
10/19/2006 12:15 AM 50 Qt Evaluation.url
09/29/2006 09:42 AM 3,721 README
10/19/2006 12:12 AM <DIR> src
10/20/2006 08:46 PM <DIR> tmp
10/19/2006 12:12 AM <DIR> tools
10/19/2006 12:13 AM <DIR> translations
10/19/2006 12:15 AM 148,347 uninst.exe
21 archivos 715,115 bytes
17 dirs 59,300,474,880 bytes libres

jacek
21st October 2006, 21:44
09/29/2006 09:42 AM 19,206 .LICENSE
09/29/2006 09:42 AM 19,172 .LICENSE-ACADEMIC
09/29/2006 09:42 AM 20,997 .LICENSE-ACADEMIC-US
09/29/2006 09:42 AM 6,379 .LICENSE-EDUCATIONAL
09/29/2006 09:42 AM 6,902 .LICENSE-EDUCATIONAL-US
09/29/2006 09:42 AM 5,536 .LICENSE-EVALUATION
09/29/2006 09:42 AM 5,978 .LICENSE-EVALUATION-US
09/29/2006 09:42 AM 13,985 .LICENSE-QTOPIACORE
09/29/2006 09:42 AM 15,804 .LICENSE-QTOPIACORE-US
09/29/2006 09:42 AM 21,030 .LICENSE-US
...
10/19/2006 12:15 AM 50 Qt Evaluation.url
It looks like you have an evaluation version of Qt. AFAIK you can't recompile it, since you have no sources.

Afflicted.d2
21st October 2006, 22:16
Will an academic license have this configure.exe?

jacek
21st October 2006, 23:04
Will an academic license have this configure.exe?
I'm not sure. I don't know much about Qt licensing. configure utility will work only with Qt versions that are distributed with source code.