Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt 5.1.1 on Linux, with -qt-xcb and old media-libs/mesa-7.2 & x11-proto/xproto-7.0.13
Forum Updated to NodeBB v4.3 + New Features

Building Qt 5.1.1 on Linux, with -qt-xcb and old media-libs/mesa-7.2 & x11-proto/xproto-7.0.13

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 3.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    articicejuice
    wrote on last edited by
    #1

    With media-libs/mesa-7.2,
    qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp wouldn't build, the error is:

    bq. qoffscreenintegration_x11.cpp: In member function 'virtual void (* QOffscreenX11GLXContext::getProcAddress(const QByteArray&))()':
    qoffscreenintegration_x11.cpp:234:100: error: 'glXGetProcAddressARB' was not declared in this scope

    adding -DGLX_GLXEXT_LEGACY helps, since glx.h then does not include definitions from glxext.h, and thus declares glXGetProcAddressARB normally.

    With x11-proto/xproto-7.0.13, the file include/X11/keysymdef.h
    lacks certain key definitions, like XK_dead_currency,
    according to the patch "http://cgit.freedesktop.org/xorg/proto/x11proto/commit/?id=2563153ed69d3d6f052ba275ff79df3cbe54b76d":http://cgit.freedesktop.org/xorg/proto/x11proto/commit/?id=2563153ed69d3d6f052ba275ff79df3cbe54b76d
    so qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp wouldn't build.

    Both errors go through the ./configure -qt-xcb check and have no fixups.

    Suggestions:

    • set requirement xproto>= 2008-11-11
    • set proper requirements for mesa or add macro fixup for this version (and similar).

    Should I file a low-priority bug into bugtracker? Or is it outside Qt's concern and certain OS vendors/repository managers should provide their own patches?

    S 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      I think you should bring this discussion on the development mailing list, you'll find there Qt's developers/maintainers (this forum is more user oriented)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A articicejuice

        With media-libs/mesa-7.2,
        qtbase/src/plugins/platforms/offscreen/qoffscreenintegration_x11.cpp wouldn't build, the error is:

        bq. qoffscreenintegration_x11.cpp: In member function 'virtual void (* QOffscreenX11GLXContext::getProcAddress(const QByteArray&))()':
        qoffscreenintegration_x11.cpp:234:100: error: 'glXGetProcAddressARB' was not declared in this scope

        adding -DGLX_GLXEXT_LEGACY helps, since glx.h then does not include definitions from glxext.h, and thus declares glXGetProcAddressARB normally.

        With x11-proto/xproto-7.0.13, the file include/X11/keysymdef.h
        lacks certain key definitions, like XK_dead_currency,
        according to the patch "http://cgit.freedesktop.org/xorg/proto/x11proto/commit/?id=2563153ed69d3d6f052ba275ff79df3cbe54b76d":http://cgit.freedesktop.org/xorg/proto/x11proto/commit/?id=2563153ed69d3d6f052ba275ff79df3cbe54b76d
        so qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp wouldn't build.

        Both errors go through the ./configure -qt-xcb check and have no fixups.

        Suggestions:

        • set requirement xproto>= 2008-11-11
        • set proper requirements for mesa or add macro fixup for this version (and similar).

        Should I file a low-priority bug into bugtracker? Or is it outside Qt's concern and certain OS vendors/repository managers should provide their own patches?

        S Offline
        S Offline
        shestero
        wrote on last edited by shestero
        #3

        @articicejuice said:

        qtbase/src/plugins/platforms/xcb/qxcbkeyboard.cpp

        to pass through this error it's enough to add
        #define XK_dead_currency 0xfe6f
        to the top of this cpp file.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved