Results 1 to 17 of 17

Thread: No xshape support note

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    Following your suggestion I went to
    http://packages.debian.org/testing/devel/qt4-dev-tools
    for a list of packages which solved that problem.

    but when I run "qmake examples.pro" I get
    pete@newCompaq:/usr/local/Trolltech/Qt-4.1.4/examples$ qmake examples.pro Failure to open file: /usr/local/Trolltech/Qt-4.1.4/examples/Makefile
    Unable to generate makefile for: examples.pro
    pete@newCompaq:/usr/local/Trolltech/Qt-4.1.4/examples$
    I find "qmake" in "/usr/Trolltech/Qt-4.1.4/bin
    My "bash_profile" is
    # ~/.bash_profile: executed by bash(1) for login shells.
    # see /usr/share/doc/bash/examples/startup-files for examples.
    # the files are located in the bash-doc package.

    # the default umask is set in /etc/login.defs
    #umask 022

    # include .bashrc if it exists
    if [ -f ~/.bashrc ]; then
    . ~/.bashrc
    fi

    # set PATH so it includes user's private bin if it exists
    if [ -d ~/bin ] ; then
    PATH=~/bin:"${PATH}"
    fi
    PATH=/usr/local/Trolltech/Qt-4.1.4/bin:$PATH
    export PATH
    fi
    I don't understand why "qmake" isn't found.
    Any help would be most appreciated

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

    Default Re: No xshape support note

    qmake works, but it can't open /usr/local/Trolltech/Qt-4.1.4/examples/Makefile. Check your access rights.

  3. #3
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    The owner of "usr" is "root"

    I am able to rus designer from a terminal in my home directory.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: No xshape support note

    User "pete" doesn't have write access to /usr/local/Trolltech/Qt-4.1.4/*. So copy the desired example for example to your home dir and play around with the example there.
    Alternatively you could give write access to the examples directory or play around as root but I wouldn't recommend either of these latter alternatives..
    J-P Nurmi

  5. #5
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    shouldn't the "user" have access to the "usr" directory?
    can I change ownership to it?
    I am unable to compile my .pro files for the same reason.

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

    Default Re: No xshape support note

    Quote Originally Posted by impeteperry
    shouldn't the "user" have access to the "usr" directory?
    No, because then he would be able to mess up the whole system.

    Quote Originally Posted by impeteperry
    can I change ownership to it?
    Better not, but if you really want change it only for /usr/local/Trolltech/Qt-4.1.4/ and its subdirectories.

  7. #7
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    I'm sorry to be so stupid, but I thought putting the "PATH" stuff in my bash_profile took care of user access.

  8. #8
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    Thanks, I really have a lot to learn. Thanks, Have to go now.

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

    Default Re: No xshape support note

    Quote Originally Posted by impeteperry
    I'm sorry to be so stupid, but I thought putting the "PATH" stuff in my bash_profile took care of user access.
    PATH only tells the interpreter where to look for commands without an explicit path. And "access" is not the same as "write permission" -- you had problems with the latter.

  10. #10
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    I had Qt-4.1.1 installed before my computers crashed and I had to reinstall everything.on both of them.

    I have Qt-3 on the old one and Qt-4 on the new one.
    Qt-3 no problem. I know it goes to /usr/share while Qt-4 goes to /usr/local but share is "root" all the way accross as is local.

    I don't remember this problems when I loaded Qt-4.1.1. (I don't think I was using opengl then.)

    I know I was able to compile the examples from /usr/local/Trolltech/Qt-4.1.1/examples as I have them on my backup disks.

    As I said Qt-4 designer, which is in the same directory as qmake, loads from a terminal in my home directory.

    I have also installed KDevelop. It can't find qmake either.

  11. #11
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    I don't think the problem is permission
    QMake has two modes, one mode for generating project files based on
    some heuristics, and the other for generating makefiles. Normally you
    shouldn't need to specify a mode, as makefile generation is the default
    mode for qmake, but you may use this to test qmake on an existing project
    Ok, I'm back. I don't know why but "qmake" is now working as it should on my stuff. I still can't use it on any of the Qt-4 examples however.

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

    Default Re: No xshape support note

    Quote Originally Posted by impeteperry
    Ok, I'm back. I don't know why but "qmake" is now working as it should on my stuff. I still can't use it on any of the Qt-4 examples however.
    Run it as root.

  13. The following user says thank you to wysota for this useful post:

    impeteperry (18th August 2006)

  14. #13
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11
    Thanks
    52

    Default Re: No xshape support note

    Quote Originally Posted by wysota
    Run it as root.
    That seem to work, sort of. I seem to be missing an "opengl" package,
    pete@newCompaq:/usr/local/Trolltech/Qt-4.1.4/examples$ make
    cd dialogs && make -f Makefile
    make[1]: Entering directory `/usr/local/Trolltech/Qt-4.1.4/examples/dialogs'
    cd complexwizard && make -f Makefile
    make[2]: Entering directory `/usr/local/Trolltech/Qt-4.1.4/examples/dialogs/complexwizard'
    g++ -o complexwizard complexwizard.o licensewizard.o main.o moc_complexwizard.o -L/usr/lib -lQtGui_debug -lQtCore_debug -lpthread
    /usr/bin/ld: cannot find -lQtGui_debug
    collect2: ld returned 1 exit status
    Which I will look for.

    I am able to compile several of the "sub-examples" ok except there are no code elements in "2dpainting" in "opengl" examples and when I run "textures" it automatically logs me out and I have to log in again.
    I know I never had any of this stuff in Qt-4.1.1, but I am happy as I can get an with my work. Thanks for your patience.

Similar Threads

  1. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 20:15
  2. MNG Support
    By Kruti in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 14th June 2006, 02:13
  3. 64-bit support in Windows?
    By jamos in forum Qt Programming
    Replies: 1
    Last Post: 12th May 2006, 17:29
  4. Problem building Qt4.1.0 with thread support on windows XP
    By pavithra in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 12:35
  5. Qt will not be built with XShape support.
    By manfredfr in forum Installation and Deployment
    Replies: 4
    Last Post: 14th March 2006, 09:26

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.