Results 1 to 4 of 4

Thread: Cannot run qtdemo - directory missing

  1. #1
    Join Date
    Jan 2007
    Location
    North Yorkshire Dales
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Cannot run qtdemo - directory missing

    When I attempt to compile qtdemo using qmake and make I get the following error:
    private/qt_x11_p.h: No such file or directory

    Actually qt_x11_p.h doesn't exist anywhere on my file system.

    I guess I am missing some packages, dev maybe? (doesn't seem to be a QT dev package)

    QT 4.1.4
    Live today like it's the last day of your life. One day it will be.
    Ubuntu 6.10; Mandriva 2007; X64 3800+ AMD; 2GB; "250GB SATA

  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: Cannot run qtdemo - directory missing

    qtdemo should get compiled when you compile Qt itself. qt_x11_p.h is part of Qt4 source tree.

  3. #3
    Join Date
    Jan 2007
    Location
    North Yorkshire Dales
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Thumbs up Re: Cannot run qtdemo - directory missing

    Quote Originally Posted by wysota View Post
    qtdemo should get compiled when you compile Qt itself. qt_x11_p.h is part of Qt4 source tree.
    Thanks wysota. My package is/was part of the Mandriva library so I (mistakenly) assumed it is/was complete.
    Since I appear to be running 4.1.4 can I either just download the missing part(s) from where
    or, if up download the 4.2.x package am I likely to break anything in recompiling?
    I already seem to have 3.x installed though why I don't know - can I remove this with impunity?
    Live today like it's the last day of your life. One day it will be.
    Ubuntu 6.10; Mandriva 2007; X64 3800+ AMD; 2GB; "250GB SATA

  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: Cannot run qtdemo - directory missing

    Quote Originally Posted by fopetesl View Post
    Thanks wysota. My package is/was part of the Mandriva library so I (mistakenly) assumed it is/was complete.
    You should have qtdemo available then as part of one of Mandriva Qt4 packages (qt4-examples or simmilar).

    Since I appear to be running 4.1.4 can I either just download the missing part(s) from where
    Try your favourite urpmi mirror

    or, if up download the 4.2.x package am I likely to break anything in recompiling?
    No, you won't break anything. You can only break rpm dependencies, but that's not a big deal if you don't uninstall Qt4.1

    I already seem to have 3.x installed though why I don't know - can I remove this with impunity?
    No. Qt4 is not backwards compatible with Qt3, so all your Qt3 apps (including KDE) would stop working.

Similar Threads

  1. QDirModel - show directory ".."?
    By jamd in forum Qt Programming
    Replies: 3
    Last Post: 23rd April 2009, 19:51
  2. error in compiling qtopia.....
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 11th January 2007, 09:10
  3. errors while installing Qt4.2 in Linux
    By nimmyj in forum Installation and Deployment
    Replies: 11
    Last Post: 13th December 2006, 11:58
  4. create file in another directory
    By raphaelf in forum Qt Programming
    Replies: 3
    Last Post: 16th February 2006, 10:04
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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.