I've created Qt-based gui dll and it works good if is used with shared version of Qt. But when I try to use static Qt, qApp in dll becames 0 !.. Dll creates QApplication only if application doesn't have its own (I do it in special fuction init()). But in the case of static Qt qApp inside dll is always 0, even of app owns QApplication instance!.. What is it? strange bug or bad feature ?
Bookmarks