Results 1 to 2 of 2

Thread: qwindows.dll (again)

  1. #1
    Join Date
    Jun 2006
    Posts
    81
    Thanks
    6
    Thanked 5 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Question qwindows.dll (again)

    Hi all,

    my application, when deployed standalone, runs fine as debug version, but crashes as release version with that infamous "Can't load windows plugin" message, similar to this post. I profiled with Dependency Walker and found that in release mode, qwindows.dll depends on Qt5Gui.dll which in turn tries to reference
    Qt Code:
    1. bool QPlatformFontDatabase::isPrivateFontFamily(class QString const &)
    To copy to clipboard, switch view to plain text mode 
    but this symbol isn't exported. In debug, this function is not referenced, so no error.

    Toolchain is Qt 5.3 (prebuilt) and MSVC 10.0 (2010). Don't think it matters, but I'm using C++11 features (e.g. anonymous functions and closures). Interestingly, Dependency Walker shows the DLLs as 5.3.1, while both file properties and the Qt Maintenance tool shows 5.3.2 (I updated).

    Is Qt5Gui built incorrectly? Is it a compiler issue? What else could have gone wrong? How can I go about this issue?

    Any help appreciated, thx.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qwindows.dll (again)

    Are you sure you are not mixing two different Qt versions? E.g. one from Qt itself and the other bundled with Qt Creator?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.