Results 1 to 3 of 3

Thread: Problems

  1. #1
    Join Date
    Jun 2006
    Posts
    10
    Thanks
    1

    Default Problems

    Got problems installing latest version of qt on Ubuntu 6...

    What can you say about this?



    In file included from ../../include/QtGui/private/qt_x11_p.h:1,
    from kernel/qapplication.cpp:51:
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:50:22: error: X11/Xlib.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:55:23: error: X11/Xutil.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:56:21: error: X11/Xos.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:63:23: error: X11/Xatom.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:252: error: ‘Colormap’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:253: error: ISO C++ forbids declaration of ‘Visual’ with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:253: error: expected ‘;’ before ‘*’ token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:262: error: ‘Time’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:263: error: ‘Window’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:264: error: ‘Window’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:274: error: ‘Window’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: error: ‘Window’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:278: error: ‘Window’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:278: error: ‘Atom’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:279: error: ‘Atom’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: error: ‘Window’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: error: ‘Atom’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:291: error: expected ‘,’ or ‘...’ before ‘*’ token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:291: error: ISO C++ forbids declaration of ‘XSelectionRequestEvent’ with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:293: error: ‘Atom’ has not been declared
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:294: error: ‘Atom’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:344: error: ISO C++ forbids declaration of ‘Atom’ with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:344: error: expected ‘;’ before ‘*’ token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:346: error: ISO C++ forbids declaration of ‘Window’ with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:346: error: expected ‘;’ before ‘*’ token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:348: error: ‘Window’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:354: error: ‘Time’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:355: error: ‘Time’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:381: error: ISO C++ forbids declaration of ‘Visual’ with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:381: error: expected ‘;’ before ‘*’ token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:382: error: ‘Colormap’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:534: error: ‘Atom’ does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: ‘FocusOut’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: ‘FocusIn’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:546: error: ‘KeyPress’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:547: error: ‘KeyRelease’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:548: error: ‘None’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:549: error: ‘RevertToParent’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:550: error: ‘GrayScale’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:551: error: ‘CursorShape’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:566: error: ‘XPoint’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:566: error: template argument 1 is invalid
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:567: error: ‘XRectangle’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:567: error: template argument 1 is invalid
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:568: error: ‘XChar2b’ was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:568: error: template argument 1 is invalid
    make[3]: *** [.obj/debug-shared/qapplication.o] Error 1
    make[3]: Leaving directory `/home/giacomo/Desktop/qt-x11-opensource-src-4.1.3/src/gui'
    make[2]: *** [debug-all] Error 2
    make[2]: Leaving directory `/home/giacomo/Desktop/qt-x11-opensource-src-4.1.3/src/gui'
    make[1]: *** [sub-gui-make_default-ordered] Error 2
    make[1]: Leaving directory `/home/giacomo/Desktop/qt-x11-opensource-src-4.1.3/src'
    make: *** [sub-src-make_default-ordered] Error 2



    Installation failed.


    Thank you

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

    Default Re: Problems

    Quote Originally Posted by euthymos
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:50:22: error: X11/Xlib.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:55:23: error: X11/Xutil.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:56:21: error: X11/Xos.h: Nessun file o directory
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:63:23: error: X11/Xatom.h: Nessun file o directory
    Looks like you are missing X11 headers. Try installing X11-devel package (or whatever Ubuntu calls it).

  3. The following user says thank you to jacek for this useful post:

    euthymos (13th June 2006)

  4. #3
    Join Date
    Jun 2006
    Posts
    10
    Thanks
    1

    Default Re: Problems

    Quote Originally Posted by jacek
    Looks like you are missing X11 headers. Try installing X11-devel package (or whatever Ubuntu calls it).
    I've made some searches and found those packages... Now... it's still compiling!

Similar Threads

  1. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 15:38
  2. Canvas problems
    By Tommytrojan in forum Qt Programming
    Replies: 22
    Last Post: 9th May 2006, 16:46
  3. QT4 Plugins - problems, problems
    By NormanDunbar in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2006, 15:39
  4. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28
  5. problems with Opengl
    By SlawQ in forum Qt Programming
    Replies: 4
    Last Post: 12th February 2006, 22:49

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.