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 running sample app QtMFC (...\qt-solutions\qtwinmigrate\examples\mfc\step1)
Forum Updated to NodeBB v4.3 + New Features

Problems running sample app QtMFC (...\qt-solutions\qtwinmigrate\examples\mfc\step1)

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 609 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.
  • C Offline
    C Offline
    carljoerger
    wrote on last edited by carljoerger
    #1

    Hello,
    I built qtdialog.dll (...\qt-solutions\qtwinmigrate\examples\qtdll) and put it in the release directory for the QtMFC application. When I run the QtMFC application and chose Help/About QtMFC..., it executes up to LoadLibraryA

    static bool showQtAboutDialog(HWND parentWindow, std::wstring *errorMessage)
    {
    typedef BOOL(*pShowDialog)(HWND parent);

    const char dllName[] = "qtdialog.dll";
    const char functionName[] = "showDialog";
    
    const HMODULE module = LoadLibraryA(dllName);
    ....
    

    then fails with the message

    0_1509462054835_3f064a85-5bcc-4133-be76-1fb657e5e044-image.png

    I must be missing the Qt library in my release directory - which files am I missing? Thanks.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please search the forum a bit. This question as been asked many times already. As stated by the error you are missing the platform plugin. Take a look at the windeployqt tool to help you with that.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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