Results 1 to 4 of 4

Thread: Executable not working when moved

  1. #1
    Join Date
    Sep 2012
    Posts
    2

    Default Executable not working when moved

    Hi all,
    I made an desktop app in Windows and cross-compile it in Ubuntu.
    Everything works fine in Ubuntu until I move build folder to another location (directory, machine, etc.).
    When I try to run executable file, it gives me and error and asks me if I want to find proper software for executable file.

    Untitled-1.png

    Sorry if I ask something what is already discussed, I couldn't find it on forum.

    Thanks,
    Nikola

  2. #2
    Join Date
    Jul 2010
    Location
    Indonesia
    Posts
    83
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Executable not working when moved

    It seems there is no executable / binary file. What about chmod +x?
    ~ We are nothing in this universe ~

  3. #3
    Join Date
    Sep 2012
    Posts
    2

    Default Re: Executable not working when moved

    Here's a screenshot from build folder
    jghjghj.png
    so there is an executable present - or am I wrong? :/

    What about chmod +x? I'm new in Ubuntu, sorry.

    KR,
    Nikola
    Last edited by bulke; 5th September 2012 at 13:13.

  4. #4
    Join Date
    Jul 2010
    Location
    Indonesia
    Posts
    83
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Maemo/MeeGo

    Default Re: Executable not working when moved

    What about chmod +x? I'm new in Ubuntu, sorry.
    The icon shows that you already have the executable. It seems that your application could not find qt library.
    HINT: Try run your application from terminal.
    ~ We are nothing in this universe ~

Similar Threads

  1. executable file not working
    By duma in forum Newbie
    Replies: 5
    Last Post: 31st August 2011, 07:48
  2. Replies: 0
    Last Post: 17th June 2011, 09:01
  3. Restricting a widget from being moved
    By ArmanS in forum Qt Programming
    Replies: 3
    Last Post: 14th April 2009, 15:48
  4. What if QT tree is moved?
    By QPlace in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd November 2008, 20:43
  5. stay selected while children are moved?
    By mooreaa in forum Qt Programming
    Replies: 0
    Last Post: 13th July 2008, 04:25

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.