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. How to deploy a Qt application including qtprinter?
QtWS25 Last Chance

How to deploy a Qt application including qtprinter?

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 531 Views
  • 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.
  • S Offline
    S Offline
    Squeleton01
    wrote on last edited by Squeleton01
    #1

    Hi i'm trying to deploy my qt application that implement QtPrinter, but after having pasted all the .dll I had to for it to work, the .exe doesn't work and the message
    "The Procedure entry point ??0QPrinter@@W4PrinterMode@0@@Z could not be located in the dynamic link library"
    than the link to my project executable.
    Does anyone has an idea how to correct this error?

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You fetched the wrong QtPrintSupport dll. Use windeployqt to make sure to have all needed dlls (and plugins) deployed.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      5
      • S Offline
        S Offline
        Squeleton01
        wrote on last edited by
        #3

        I actually used windeployqt but it still made that error for me

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Make sure it's picking the correct libraries - looks like you've more than one Qt installation around.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1
          • M Offline
            M Offline
            MrShawn
            wrote on last edited by
            #5

            Hi,

            1. Make sure Qt5PrintSupport.dll is in the executable's directory. (For me I find this dll in C:\Qt\5.10.0\mingw53_32\bin)

            2. Copy the printsupport FOLDER into the application directory. (For me I find the folder in C:\Qt\5.10.0\mingw53_32\plugins)

            That is what works for me. I hope it helps.

            1 Reply Last reply
            3

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved