Solved QPrinterInfo::availablePrinterNames
-
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. -
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?
-
@mrjj
What other version, older windows ?
old is 8.1 new 10or 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! -
Might be some bug with 5.7 and win 8.1
I would go and look the bugreports.qt.ioIf possible try with 5.8
-
@mrjj
where printers avilable Qt 5.7 windows 8.1
where printers is not avilable Qt 5.8 windows 10so when i build and relise my project in qt 5.8 printers is avilable but 5.7 is not.
wtf ? is DLL problems? -
@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.
-
@mrjj
SOLVED.
https://forum.qt.io/topic/39319/solved-qprinterinfo-availableprinters-don-t-list-available-printerscreate folder in your project name at "/printsupport" and insert windowsprintersupport.dll
-
@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.