Results 1 to 3 of 3

Thread: Install our programs into other pcs

  1. #1
    Join Date
    Jun 2011
    Posts
    1
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Install our programs into other pcs

    Hi!
    I'd been developping an aplication with Qt(4.7) + C++ + Linux.
    Now I want to test the aplication into others pc like other linux or windows. I exported the aplication into a windows PC that can compile the projecte, and I take the windows executable. But when I export the aplication into others pc that don't have de qt libraries doesn't work, even if execute the aplication from the windows pc that have the qt libraries, the unique way that I could start the aplication is from et Qt console.

    I supose that if I could put the libraries into the system libreary path it already work fine.
    How I can generate an apliaction that works fine on every pc? with or without qt libraries installed

    Thanks people
    Faithfully Victor

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,540
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Install our programs into other pcs


  3. #3
    Join Date
    Jan 2011
    Posts
    34
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Install our programs into other pcs

    Simplest way to deploy your app on another PC with Windows is to copy necessary libraries from "C:\QtSDK\Desktop\Qt\4.7.3\mingw\bin" to directory with your EXE.
    You should copy at least following libs:
    Qt Code:
    1. libgcc_s_dw2-1.dll
    2. mingwm10.dll
    3. QtCore4.dll
    4. QtGui4.dll
    To copy to clipboard, switch view to plain text mode 
    If you use additional modules (QtNetwork, QtSQL etc.) copy also these libs.

Similar Threads

  1. How to use SSE(2,3) in C++/QT programs
    By Ronayn in forum General Programming
    Replies: 1
    Last Post: 7th June 2011, 06:11
  2. Replies: 6
    Last Post: 13th March 2011, 23:49
  3. Enterprise Programs
    By migizi in forum General Discussion
    Replies: 0
    Last Post: 23rd September 2010, 23:54
  4. Building QT Programs for Mac OS X 10.5
    By manekineko in forum Qt Programming
    Replies: 0
    Last Post: 21st August 2010, 01:10
  5. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38

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.