UI that runs out of a library - not as a plugin.

  • I am looking for a solution for using a UI that is part of a library (DLL for Windows) and not as a plug-in. The goal is to have this UI not be directly coupled to an application. The application is not linked at compile time. The application can be a third party application using native, MFC, .NET etc. also having its own UI This model is one that would be familiar to anyone who designs TWAIN data source apps. The application is not coupled to the UI.

    This effort was initially and somewhat successfully implemented in Qt 4.8 mentioned in this "thread":http://qt-project.org/forums/viewthread/35063/#151427. Since the GUI module in Qt was changed so much, this effort has hit a significant block. The TWAIN consortium supports this approach and even backs it up with a Qt example app using Qt 4.5.

    The question then is, with the changes to the GUI module in 5.0 and above, can a UI be run from a library?

  • Lifetime Qt Champion


    I think you should rather ask this question on the interest mailing list, you'll find there Qt's developers/maintainers (this forum is more user oriented)

  • This is 100% a user question/experience and I hope another user who may have any knowledge writing TWAIN targeted apps can assist. It's related to something that worked for Qt 4 and now does not in Qt 5.

    Additionally, this forum - General and Desktop - is part of Qt Development is it not?

    I'll take a look at the interest list too.

  • Lifetime Qt Champion

    Not necessarily since there's been some big changes on the backend side of Qt (thinking of the QPA architecture) that could be something related to that new architecture

  • Just the same, I have been trying to accomplish something that has worked on an older version of Qt. If since the change, I need to do things differently, then hopefully I can get some insight. Take a look at the referenced thread. If you can offer up a suggestion I would appreciate it. I can also offer up a more detailed explanation than what I posted.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.