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. Problems using Qt widgets in a Cocoa application
Forum Updated to NodeBB v4.3 + New Features

Problems using Qt widgets in a Cocoa application

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.6k 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.
  • J Offline
    J Offline
    jleben
    wrote on last edited by
    #1

    I have troubles in the following scenario:
    There is a Cocoa (Mac OS) application running its own event loop and I am using QWidgets within it. I do not need to insert QWidgets into Cocoa view hierarchy, they are only used independently. I am instantiating a QApplication on the main application thread before any widget, but not executing its event loop. AA_MacPluginApplication attribute is set on QApplication before instantiating it.

    The troubles I met so far:

    The application becomes unresponsive after a QDialog is closed (whether accepted or not).

    The same happens when an item in a QComboBox is clicked.

    A segmentation fault occurs when scrolling a QListWidget on a touchpad using 2-finger scrolling technique (but not when using scrollbar). Gdb backtrace: http://pastebin.com/tGFC1C1X

    What might be the reasons and how to remedy this?

    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