Results 1 to 8 of 8

Thread: portable application in win

  1. #1
    Join Date
    Nov 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default portable application in win

    Dear all,

    I made an application in windows but i cant use it alone. The application need a lot of dll.How can i made it portable?

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: portable application in win

    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  3. #3
    Join Date
    Feb 2013
    Location
    India
    Posts
    4
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: portable application in win

    I want to notify that I am new to this community and I was also facing the same issue. Although, I have checked this weblink which you have been shared above and there has been very useful details given. I would like to thank you for provided this an useful link for us.

  4. #4
    Join Date
    Nov 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: portable application in win

    After adding some dll to my project i saw this error :



    What should i do?

  5. #5
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: portable application in win

    use a dll that is compatible. ie the versin must be binary compatible and must be compiled with the same compiler as the rest of the app.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  6. #6
    Join Date
    Nov 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: portable application in win

    I used dlls that are in qt directory.

  7. #7
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: portable application in win

    use a dll that is compatible. ie the version must be binary compatible and must be compiled with the same compiler as the rest of the app.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  8. #8
    Join Date
    Feb 2013
    Posts
    19
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: portable application in win

    perhaps this can help you, but its in german...
    http://www.youtube.com/watch?v=9JToo...E9D63&index=98
    If you dont wanna look all of this short vid, minute 3:20 is the error you got (based on the same problems u have).


    To solve this u have to use the right dll´s of qt like amleto already said.

    E.G you can search your computer for the qt dlls and u will be suprise how many u will probably find - Just use the qt dll´s you create the application with.

    I hope this helps - also for understanding whats going on (in vid its explained realy simple) -

    Greets
    Last edited by Anenja; 24th February 2013 at 18:15.

Similar Threads

  1. Mac OS X - portable Qt application
    By Frostorator in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2011, 22:08
  2. portable getopt() functionality
    By KShots in forum Qt Programming
    Replies: 7
    Last Post: 14th March 2011, 18:19
  3. Portable way to use PDF files for help?
    By frank100 in forum Qt Programming
    Replies: 1
    Last Post: 27th February 2011, 09:08
  4. portable qt application on windows
    By eleanor in forum Installation and Deployment
    Replies: 2
    Last Post: 11th November 2007, 17:57
  5. qt portable?
    By vermarajeev in forum General Discussion
    Replies: 1
    Last Post: 20th September 2007, 12:14

Tags for this Thread

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.