Results 1 to 10 of 10

Thread: Running the application

  1. #1
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Running the application

    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.. =\

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Running the application

    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    Afflicted.d2 (21st October 2006)

  4. #3
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running the application

    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?

  5. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Running the application

    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.
    J-P Nurmi

  6. The following user says thank you to jpn for this useful post:

    Afflicted.d2 (21st October 2006)

  7. #5
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running the application

    Problem is ... configure is not there...

  8. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running the application

    Quote Originally Posted by Afflicted.d2 View Post
    Problem is ... configure is not there...
    What do you have exactly in C:\Qt\4.2.0?

  9. The following user says thank you to jacek for this useful post:

    Afflicted.d2 (21st October 2006)

  10. #7
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running the application

    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

  11. #8
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running the application

    Quote Originally Posted by Afflicted.d2 View Post
    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.

  12. The following user says thank you to jacek for this useful post:

    Afflicted.d2 (21st October 2006)

  13. #9
    Join Date
    Oct 2006
    Posts
    11
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running the application

    Will an academic license have this configure.exe?

  14. #10
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Running the application

    Quote Originally Posted by Afflicted.d2 View Post
    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.

  15. The following user says thank you to jacek for this useful post:

    Afflicted.d2 (22nd October 2006)

Similar Threads

  1. Replies: 3
    Last Post: 8th December 2006, 18:51
  2. Gnome makes application crash
    By regix in forum Qt Programming
    Replies: 35
    Last Post: 18th August 2006, 19:44
  3. Running application on Mac OS X
    By munna in forum General Discussion
    Replies: 1
    Last Post: 19th April 2006, 20:10
  4. Replies: 3
    Last Post: 31st March 2006, 18:38
  5. Replies: 5
    Last Post: 16th January 2006, 05:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.