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. QPrinterInfo::availablePrinterNames

QPrinterInfo::availablePrinterNames

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 2 Posters 3.0k 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.
  • Taz742T Offline
    Taz742T Offline
    Taz742
    wrote on last edited by
    #1

    Hello everywhere.
    I Have ComboBox where are the Avilable Printer Names.
    I use QT 5.7 and All printer names are avilable, but other version in other computers combobox is empty.

    alt text

    Do what you want.

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

      Its impossible to guess at.
      What other version, older windows ?
      or what are the details of the computers where it list nothing?

      And you did check that the computer did in fact have a printer installed?

      Taz742T 1 Reply Last reply
      0
      • mrjjM mrjj

        Its impossible to guess at.
        What other version, older windows ?
        or what are the details of the computers where it list nothing?

        And you did check that the computer did in fact have a printer installed?

        Taz742T Offline
        Taz742T Offline
        Taz742
        wrote on last edited by
        #3

        @mrjj
        What other version, older windows ?
        old is 8.1 new 10

        or what are the details of the computers where it list nothing?
        nothing. combobox is empty.

        And you did check that the computer did in fact have a printer installed?
        Yeap!

        Do what you want.

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          Might be some bug with 5.7 and win 8.1
          I would go and look the bugreports.qt.io

          If possible try with 5.8

          Taz742T 1 Reply Last reply
          0
          • mrjjM mrjj

            Might be some bug with 5.7 and win 8.1
            I would go and look the bugreports.qt.io

            If possible try with 5.8

            Taz742T Offline
            Taz742T Offline
            Taz742
            wrote on last edited by
            #5

            @mrjj
            where printers avilable Qt 5.7 windows 8.1
            where printers is not avilable Qt 5.8 windows 10

            so when i build and relise my project in qt 5.8 printers is avilable but 5.7 is not.
            wtf ? is DLL problems?

            Do what you want.

            mrjjM 1 Reply Last reply
            0
            • Taz742T Taz742

              @mrjj
              where printers avilable Qt 5.7 windows 8.1
              where printers is not avilable Qt 5.8 windows 10

              so when i build and relise my project in qt 5.8 printers is avilable but 5.7 is not.
              wtf ? is DLL problems?

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Taz742
              Could be anything.
              Any yes could be related to DLLS.

              I dont have a win 8 to test on so sadly i cant help debug using a small sample.

              Taz742T 1 Reply Last reply
              0
              • mrjjM mrjj

                @Taz742
                Could be anything.
                Any yes could be related to DLLS.

                I dont have a win 8 to test on so sadly i cant help debug using a small sample.

                Taz742T Offline
                Taz742T Offline
                Taz742
                wrote on last edited by
                #7

                @mrjj
                SOLVED.
                https://forum.qt.io/topic/39319/solved-qprinterinfo-availableprinters-don-t-list-available-printers

                create folder in your project name at "/printsupport" and insert windowsprintersupport.dll

                Do what you want.

                mrjjM 1 Reply Last reply
                1
                • Taz742T Taz742

                  @mrjj
                  SOLVED.
                  https://forum.qt.io/topic/39319/solved-qprinterinfo-availableprinters-don-t-list-available-printers

                  create folder in your project name at "/printsupport" and insert windowsprintersupport.dll

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Taz742
                  Ahhh
                  it was error in deployment.
                  Good info.

                  So you didn't test on clean win 10 pc. And hence it could find the dll from Qt folder.
                  But on remote win 8, it was Qt clean and hence failed.

                  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