Results 1 to 3 of 3

Thread: compilation errors QT 4.6.2

  1. #1
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default compilation errors QT 4.6.2

    hi, i downloaded qt-sdk-linux-x86-opensource-2010.02 from the website and i try to compile the code, but during make its fail, throwing this errors


    Qt Code:
    1. ............../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:393: error: ‘Ptr_gtk_file_chooser_get_filename’ does not name a type
    2. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:394: error: ‘Ptr_gtk_file_chooser_get_filenames’ does not name a type
    3. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:395: error: ‘Ptr_gtk_file_chooser_set_current_name’ does not name a type
    4. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:396: error: ‘Ptr_gtk_dialog_run’ does not name a type
    5. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:397: error: ‘Ptr_gtk_file_chooser_set_filename’ does not name a type
    6. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:399: error: ‘Ptr_gdk_pixbuf_get_pixels’ does not name a type
    7. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:402: error: ‘Ptr_gdk_pixmap_new’ does not name a type
    8. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:403: error: ‘Ptr_gdk_pixbuf_new’ does not name a type
    9. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:404: error: ‘Ptr_gdk_pixbuf_get_from_drawable’ does not name a type
    10. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:405: error: ‘Ptr_gdk_draw_rectangle’ does not name a type
    11. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:406: error: ‘Ptr_gdk_pixbuf_unref’ does not name a type
    12. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:407: error: ‘Ptr_gdk_drawable_unref’ does not name a type
    13. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:408: error: ‘Ptr_gdk_drawable_get_depth’ does not name a type
    14. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:410: error: ‘Ptr_gdk_x11_window_set_user_time’ does not name a type
    15. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:411: error: ‘Ptr_gdk_x11_drawable_get_xid’ does not name a type
    16. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:412: error: ‘Ptr_gdk_x11_drawable_get_xdisplay’ does not name a type
    17. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:418: error: ‘Ptr_gnome_icon_lookup_sync’ does not name a type
    18. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:419: error: ‘Ptr_gnome_vfs_init’ does not name a type
    19. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:424: error: ‘GtkWidget’ was not declared in this scope
    20. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:424: error: template argument 2 is invalid
    21. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:436: error: ISO C++ forbids declaration of ‘GtkWidget’ with no type
    22. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:436: error: ‘GtkWidget’ declared as a ‘virtual’ field
    23. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:436: error: expected ‘;’ before ‘*’ token
    24. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:437: error: ‘GtkWidget’ has not been declared
    25. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:438: error: ‘GtkWidget’ has not been declared
    26. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:439: error: ‘GtkWidget’ has not been declared
    27. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:439: error: ‘gpointer’ has not been declared
    28. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:440: error: ‘GtkWidget’ has not been declared
    29. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h: In static member function ‘static bool QGtkStylePrivate::isThemeAvailable():
    30. ../../include/QtGui/private/../../../src/gui/styles/qgtkstyle_p.h:278: error: ‘gtkStyle’ was not declared in this scope
    31. gmake[1]: *** [.obj/release-shared/qguiplatformplugin.o] Error 1
    32. gmake[1]: Leaving directory `/opt/qtsdk-2010.02/qt/src/gui'
    33. gmake: *** [sub-gui-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    Im running Sles 10 Sp1

    i try to find it on google but .....=(

    plz help

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: compilation errors QT 4.6.2

    How did you compile it? Configuration options? Compiler options? Which make?

  3. #3
    Join Date
    May 2010
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: compilation errors QT 4.6.2

    ./configure ...... most of the times
    ./configure -no-gtkstyle ....once

    with both >>make and gmake (without options) with the same results

    Last edited by loud91; 7th May 2010 at 13:56.

Similar Threads

  1. errors
    By manu in forum Newbie
    Replies: 4
    Last Post: 16th June 2008, 11:29
  2. Errors
    By hgedek in forum Newbie
    Replies: 7
    Last Post: 25th November 2007, 23:21
  3. Example with errors
    By fahmi in forum Qt Programming
    Replies: 1
    Last Post: 29th July 2007, 01:37
  4. Qt compilation errors
    By ToddAtWSU in forum Qt Programming
    Replies: 1
    Last Post: 31st October 2006, 17:29
  5. Qt Compile Errors?
    By magikalpnoi in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2006, 22:18

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.