Results 1 to 2 of 2

Thread: Deploying application and including images/files

  1. #1
    Join Date
    Apr 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Deploying application and including images/files

    I have a project made with Qt Creator and I would now like to deploy/release (which one is correct) it so that I could say, email it to my brother who could run it on his laptop. I'm not quite sure how to do this though, all I know is that once you build the project in release mode you need to copy over some dll files, but which ones? I'm also using OpenGL in the project so I imagine that'll require some dlls too.

    My project also includes images from jpgs in a folder on my desktop. This is the first time I've ever used images in any programming project so I'm not quite sure what to do with them to include them in the final deployed application.

    I have read a bit on static building but anytime any instructions mention the command line I stray away since I have no idea how all that works with path variables and what not...

  2. #2
    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: Deploying application and including images/files

    You do not want to compile a static Qt.

    Start reading here and keep going to the bottom of the page.


    If you want to ship the images with your application as separate files then make your installer include them in the bundle and make sure your application will be able to find them when run. If you want to build the images into the application so they cannot possibly be misplaced then read about the Qt Resource System

Similar Threads

  1. Replies: 11
    Last Post: 25th October 2012, 13:15
  2. including qjpeg4.dll to view images
    By aash_89 in forum Qt Programming
    Replies: 8
    Last Post: 26th July 2010, 07:52
  3. Problem with including lib files
    By metow in forum Qt Tools
    Replies: 2
    Last Post: 12th December 2009, 21:57
  4. Replies: 1
    Last Post: 6th November 2009, 21:25
  5. qmake and including files doubt
    By clinisbut in forum Newbie
    Replies: 3
    Last Post: 16th August 2008, 15:40

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.