Running Qt application on computer without Qt



  • Hi

    My application works fine on the computer I developed, but when i try to run in other computer it doesn't works, i'm was searching for an answer for my problem an i find that i need to use the Qt SDK command promp but when i enter "configure -static" it returns this.
    @
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\bin>pushd "C:\QtSDK\Symbian\SDKs\Symbian3Qt4
    74\bin"
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\bin>call ..\qtenvsbsv2.bat
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\bin>pushd "C:\QtSDK\Symbian\SDKs\Symbian3Qt4
    74"
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474>call env.bat
    Setting up environment for Qt Symbian 3 usage...
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474>configure -static
    Which edition of Qt do you want to use ?
    Type 'c' if you want to use the Commercial Edition.
    Type 'o' if you want to use the Open Source Edition.
    o
    This is the Qt for Windows Open Source Edition.
    You are licensed to use this software under the terms of
    the GNU Lesser General Public License (LGPL) version 2.1.
    Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.
    Do you accept the terms of the license?
    y
    All the required DirectShow/Direct3D files couldn't be found.
    Make sure you have either the platform SDK AND the DirectShow SDK or the Windows
    SDK installed.
    If you have the DirectShow SDK installed, please make sure that you have run the
    <path to SDK>\SetEnv.Cmd script.
    vmr9.h not found
    dshow.h not found
    strmiids.lib not found
    dmoguids.lib not found
    msdmo.lib not found
    d3d9.h not found
    WARNING: Using static linking will disable the WebKit module.
    Environment:
    INCLUDE=
    Unset
    LIB=
    Unset
    PATH=
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\gcc\bin
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\epoc32\tools
    C:\QtSDK\Symbian\tools
    C:\QtSDK\Symbian\tools\perl\bin
    C:\QtSDK\Symbian\tools\sbs\bin
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\bin
    C:\QtSDK\Symbian\tools\gcce4
    C:\QtSDK\Symbian\tools\gcce4\bin
    C:\QtSDK\Symbian\tools\gcce4\arm-none-symbianelf\bin
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474\mkspecs\default
    C:\QtSDK\Symbian\SDKs\Symbian3Qt474
    C:\Perl\site\bin
    C:\Perl\bin
    C:\LegacyApp\Oracle\client11201\bin
    C:\LegacyApp\Oracle\client11201
    C:\Windows\system32
    C:\Windows
    C:\Windows\System32\Wbem
    C:\Windows\System32\WindowsPowerShell\v1.0
    C:\Program Files (x86)\Lotus\Notes85
    WARNING: Using static linking will disable the use of plugins.
    Make sure you compile ALL needed modules into the library.
    Creating qmake...
    execute: File or path is not found (mingw32-make)
    execute: File or path is not found (mingw32-make)
    Cleaning qmake failed, return code -1
    @


  • Moderators

    welcome to devnet

    If you like to run a desktop application at another computer you need to copy also the required dlls to the other computer.

    In order to find out "which dlls to copy see this wiki.":http://qt-project.org/wiki/Show_library_dependencies#aea23489ce3aa9b6406ebb28e0cda430

    Certainly there is also the possibility to create a static version of Qt. There you have to build Qt libs by yourself as you started to try. However, you need to check "the license conditions and the implications":http://qt-project.org/products/licensing of using static libs.

    Here is a link to a "wiki for static compilations of Qt libs.":http://qt-project.org/wiki/How_to_build_a_static_Qt_version_for_Windows_with_gcc


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.