Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Is it possible to integrate Motif widget in Qt5?
Forum Updated to NodeBB v4.3 + New Features

Is it possible to integrate Motif widget in Qt5?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 853 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.
  • I Offline
    I Offline
    i_love_rainbow
    wrote on 20 Feb 2017, 10:57 last edited by
    #1

    Hi,

    I've been stuck in this problem for a while.

    In Qt3 and Qt4, we can use qtmotif and qtmotifwidget to do motif widget integration.
    A really simple program(based on examples/itemviews/editabletreemodel) is made as an example, I put it on github, please download it from this link:
    Motif_Qt4_editabletreemodel.zip

    In Qt5, qtmotif and qtmotifwidget are deprecated, and lots of XWindow related API are removed.

    I tried to comment out all removed API in qtmotif and qtmotifwidget to get the program built using Qt5, then when I run it, found that none XEvent received from XServer at xcb level.

    Is motif widget support dropped in Qt5?
    Is there an alternative solution?

    Thanks!

    M 1 Reply Last reply 20 Feb 2017, 11:30
    0
    • I i_love_rainbow
      20 Feb 2017, 10:57

      Hi,

      I've been stuck in this problem for a while.

      In Qt3 and Qt4, we can use qtmotif and qtmotifwidget to do motif widget integration.
      A really simple program(based on examples/itemviews/editabletreemodel) is made as an example, I put it on github, please download it from this link:
      Motif_Qt4_editabletreemodel.zip

      In Qt5, qtmotif and qtmotifwidget are deprecated, and lots of XWindow related API are removed.

      I tried to comment out all removed API in qtmotif and qtmotifwidget to get the program built using Qt5, then when I run it, found that none XEvent received from XServer at xcb level.

      Is motif widget support dropped in Qt5?
      Is there an alternative solution?

      Thanks!

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 20 Feb 2017, 11:30 last edited by
      #2

      @i_love_rainbow

      Hi
      This version says it works with Qt5
      https://github.com/staalmannen/qtmotifextension

      Rewriting it for Qt is not an option?

      1 Reply Last reply
      0

      1/2

      20 Feb 2017, 10:57

      • Login

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