Results 1 to 7 of 7

Thread: How to run qt application without installing qt

  1. #1
    Join Date
    Nov 2009
    Posts
    29
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question How to run qt application without installing qt

    Hi,

    Is there any way, where I could run the Qt application (which is build in Linux X11) in the embedded device without installing QT in it.

    thanks

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to run qt application without installing qt

    no. you have to install the qt libraries provided that the device also runs X11. You have to cross-compile qt and your application for the embedded processor as well

  3. #3
    Join Date
    Oct 2009
    Posts
    22
    Thanks
    8
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to run qt application without installing qt

    you must have dll fies which your application used.
    You can try to launch your application in PC which not installing the qt ,it will post some errors.
    the errors eg:
    can't find *.dll.
    so,copy this dll files and package it with your application.
    this way can copy Least dll files for your application.

  4. The following user says thank you to rainspider for this useful post:

    praveen_g (27th November 2009)

  5. #4
    Join Date
    Nov 2009
    Posts
    29
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to run qt application without installing qt

    Thanks a lot, it worked.

  6. #5
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: How to run qt application without installing qt

    You can do static linking if you...
    1. Only use one application that uses Qt on your device
    2. Do not use plugins


    Otherwise static linking works as well but you do not get the size benefit of static linking.
    It's nice to be important but it's more important to be nice.

  7. #6
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to run qt application without installing qt

    How to perform the static linking of the dll's?

  8. #7
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to run qt application without installing qt

    Quote Originally Posted by Gokulnathvc View Post
    How to perform the static linking of the dll's?
    • Open your copy of Qt Assistant.
    • Search for "Deploying".
    • Select the page relevant to your operating system
    • Read it

    Also, if you are not using Qt under a commercial (paid) licence then:
    • Search for "License"
    • Open the page for the GPL or LGPL depending on which you have chosen to use Qt under.
    • Read it: because they impose obligations on you relevant to static linking.

    Also re-read the other places you have asked the same question, e.g. http://www.qtcentre.org/threads/4003...ghlight=static

Similar Threads

  1. Installing QT application
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 11th November 2009, 06:22
  2. Deploying Qt 4.5.1 Application on RHEL 5.. Pls Help
    By swamyonline in forum Installation and Deployment
    Replies: 0
    Last Post: 28th June 2009, 11:43
  3. installing application on greenphone device
    By prajna in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 17th April 2009, 09:30
  4. Installing my application
    By jaca in forum Installation and Deployment
    Replies: 1
    Last Post: 26th May 2008, 17:51
  5. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 18:37

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
  •  
Qt is a trademark of The Qt Company.