Results 1 to 4 of 4

Thread: Hello Qt fails, KDevelop un Ubuntu

  1. #1
    Join Date
    Aug 2008
    Posts
    29
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Hello Qt fails, KDevelop un Ubuntu

    First time user of KDevelop and Qt on Ubuntu Gnome. Total noob to all 3, but experienced cross developer.

    Installed Qt 4.4.1 with "-prefix-install" configure option. Installed KDevelop with apt-get from deb http://ftp5.gwdg.de/pub/opensuse/rep.../xUbuntu_8.04/.

    Trying to build the "hello Qt" demo project, get this in the messages window:
    cd '/home/tommy/tryQt' && LC_MESSAGES="C" LC_CTYPE="C" /usr/local/Trolltech/Qt-4.4.1/bin/ tryqt.pro
    /bin/sh: /usr/local/Trolltech/Qt-4.4.1/bin/: Permission denied
    *** Exited with status: 126 ***

    I do not have write access to the named dir, but I don't see why I should need it. I have no clue how to find the offending shell script so I'd appreciate an explanation.

    Thanks, Tom

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 975 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Hello Qt fails, KDevelop un Ubuntu

    Quote Originally Posted by tksharpless View Post
    cd '/home/tommy/tryQt' && LC_MESSAGES="C" LC_CTYPE="C" /usr/local/Trolltech/Qt-4.4.1/bin/ tryqt.pro
    /bin/sh: /usr/local/Trolltech/Qt-4.4.1/bin/: Permission denied
    That path probably should end with "qmake". Check your KDevelop settings.

  3. #3
    Join Date
    Aug 2008
    Posts
    29
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Hello Qt fails, KDevelop un Ubuntu

    I agree. But Where? how? I can't find anything in the KDevelop GUI that looks like it would do that. Anyhow, since I asked it to use qmake, shouldn't it know that qmake is what it wants to run??

    This is pretty clearly a KDeveop issue not a Qt one, so I really shouldn't be bothering you guys about it....

  4. #4
    Join Date
    Aug 2008
    Posts
    29
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Hello Qt fails, KDevelop un Ubuntu

    Check. Just found it: Project Options/C++ Support/Qt Options/qmake binary. The path was already filled in but not the program name. Not too obvious; but now it builds.

    Thanks anyhow.

Similar Threads

  1. Basic Qt4 tutorial needed
    By pthomas in forum Qt Programming
    Replies: 26
    Last Post: 16th October 2006, 15: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.