Results 1 to 2 of 2

Thread: launch and set console (.pro) under linux

  1. #1
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default launch and set console (.pro) under linux

    Hi, i've problem under linux;
    I'd like create Edit.out (executable file) and launch it from console; but when I type 'Edit.out' + <enter>, console say me that unnknow comand;
    I can launch app (using KDE) with double click on my application icon; but with this way I can't see console under my application..How can I do it under linux? Thanks
    Qt Code:
    1. CONFIG += qt console warn_on opengl exceptions
    2. TARGET = Edit.out
    To copy to clipboard, switch view to plain text mode 
    Regards

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: launch and set console (.pro) under linux

    You need to type ./Edit.out, that is ./<exactly the filename>. The standard command shell only searches in the directories pointed out by PATH, so you need to type ./ first to tell it to look in the current directory. Then it is case sensitive - that is upper and lower case does matter.

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.