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. Qt main event loop in Win32 Dll
Forum Updated to NodeBB v4.3 + New Features

Qt main event loop in Win32 Dll

Scheduled Pinned Locked Moved General and Desktop
event loopwin32winmigrateqmfcapp
1 Posts 1 Posters 1.2k 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.
  • M Offline
    M Offline
    MaxW
    wrote on last edited by
    #1

    I implemented a "win32" based library (COM Server) with "Qt" (5.3.0) support. Qt is used for some Core and GUI functionality, so the "qt main event loop" is much needed.

    "QtWinMigrate" library does the work with "QMfcApp::pluginInstance" in my DllMain function. So far so good. My Dll can be loaded, by the 3rd party applications, and works well. In most cases. :-(

    In one specific case it doesn't! The main event loop can't be started! I debuged the "QMfcApp::pluginInstance" method and discovered, that "SetWindowsHookExW" was successfull but the "QtFilterProc" is never called, so qt event loop is never triggered.

    What can be the reason for this behavior? How can i fix it?

    kind regards, Max

    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