Results 1 to 6 of 6

Thread: executable file not working

  1. #1
    Join Date
    Aug 2011
    Posts
    35
    Thanks
    5

    Default executable file not working

    So i have finally finished creating my gui in Qt and finished writing all the code. But when i run the executable, the gui application pops up, but nothing is working in the window i.e. the pushbuttons don't function, the combo boxes have no items etc. It seems like none of the code is executing.
    How ever when click build and run in Qt Creator, everything works fine.
    And when i run the executable in terminal, it works fine.
    I'm not sure what is wrong. any help would be appreciated.
    Last edited by duma; 30th August 2011 at 20:37.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: executable file not working

    I'm wondering what exactly you're expecting us to do.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2011
    Posts
    35
    Thanks
    5

    Default Re: executable file not working

    Quote Originally Posted by wysota View Post
    I'm wondering what exactly you're expecting us to do.
    Any suggestions as to why that is happening/ how to fix it?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: executable file not working

    Well... probably there is something wrong with your code or with your computer
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    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: executable file not working

    A summary:
    • It works in the IDE with the Qt libraries and Qt plugins available in the relevant PATH/locations
    • It works from with the Qt libraries and Qt plugins available in the relevant PATH/locations
    • It does not work fully, but does start, when deployed.

    Given that it runs at all I would venture the deployed environment has the Qt libraries available. Given that bits of the application are failing my guess is that the deployed environment is missing the required SQL, image format, icon format, and other plugins.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: executable file not working

    Or the app gets stuck in some endless loop.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 5
    Last Post: 30th August 2011, 23:21
  2. Replies: 0
    Last Post: 17th June 2011, 09:01
  3. Sound not playing when using executable file
    By Zotop in forum Qt Programming
    Replies: 0
    Last Post: 25th November 2010, 23:47
  4. Replies: 5
    Last Post: 15th June 2010, 07:42
  5. about setting executable file icon
    By Raul in forum Qt Programming
    Replies: 5
    Last Post: 15th June 2010, 02:11

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.