Results 1 to 5 of 5

Thread: Stand alone app

  1. #1
    Join Date
    Sep 2010
    Posts
    14
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Stand alone app

    Hi,
    I need my application to work on pc's without QT installed, so I always copy necessarily libraries with my compiled binary file and its working. But now I need my app to work with pictures (save, open..etc). When I run binary, there is no error reffeering to missing library, so I thought its ok, but when I try saving picture is not working in release(no app crushing error or somthing, just nothing happen at all). In debug its everything ok, working properly.
    Can anybody help mi which library is needed? Or can you direct me somewhere where I can find it out?
    Thank you very much. I appreciate any help.

  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: Stand alone app


  3. The following user says thank you to nish for this useful post:

    wolfi3b (23rd September 2010)

  4. #3
    Join Date
    Sep 2010
    Posts
    14
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Stand alone app

    Thank you for your answer, I didint have that folder with my project. Unfortunately, when I copy it there, nothing changes. Anyway not sure if its the right one I used first the one in .../qt/plugins/imageformats and than I tried .../bin/imageformats . Unfortunately its still the same.

    One more thing, I forgot to say how Im saving picture, so I use QPixmap mehtode save. I save it as
    save(cesta,"JPG",100)

    and I tested now what it is returning and its all time returning 0 so its not able to save. I checked many times if path Im saving it to is correct and it is. Also its working in debug, so it should be anyway.

  5. #4
    Join Date
    Sep 2010
    Posts
    14
    Thanks
    3
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Stand alone app

    Ok, I found the problem. Files I copied were from version 4.7. these are with which its not working, now when I copied from another folder in my QT installation, I noticed that in description there is another version. My installed QT is 4.7, but these had description 4.6.3. I tried these and now Its working. Just now I have no Idea why its like this, but I'm definitely gonna find out

    One more time thank you for your answer. It put me on the right track.

  6. #5
    Join Date
    May 2009
    Location
    Vienna
    Posts
    91
    Thanks
    18
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Stand alone app


Similar Threads

  1. stand alone dll under qt application
    By ami in forum Qt Programming
    Replies: 3
    Last Post: 15th June 2010, 13:42
  2. Can't execute a Stand Alone Qt Application after compiling
    By aarelovich in forum Qt Programming
    Replies: 5
    Last Post: 8th October 2009, 17:59
  3. Replies: 2
    Last Post: 21st August 2009, 04:54
  4. Stand-alone colorbar (no canvas)
    By llamas in forum Qwt
    Replies: 3
    Last Post: 20th August 2008, 08:47
  5. how to make a stand alone .exe with VS
    By Masih in forum General Programming
    Replies: 1
    Last Post: 20th May 2007, 07:05

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.