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. Qt 6.2.2 static Dont detect printers in windows.
Qt 6.11 is out! See what's new in the release blog

Qt 6.2.2 static Dont detect printers in windows.

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

    Hello,
    I have been having an issue since upgrading to Qt6 my Qt static app don't detect printers on Qt 6 static msvc and never compile on mingw

    on mingw it complains that multimedia is not available
    on msvc2019 it compiles but printerinfo list is empty as no printers detected at all

    is it a known issue or there is something i can do ?

    PS: it works fine on Qt 5.15.2

    msvc config

    ..\configure.bat -debug-and-release -opensource -confirm-license -opengl desktop -no-dbus -no-icu -no-fontconfig -nomake examples -nomake tests -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtlocation -skip qtnetworkauth -skip qtpurchasing -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtquick3d -skip qtvirtualkeyboard -skip qtwebview -skip qtscript -qt-zlib -optimize-size -static -static-runtime -ltcg -nomake tools  -platform win32-msvc -c++std c++17 -sql-sqlite -sql-odbc -qt-libpng -qt-libjpeg -qt-freetype -no-warnings-are-errors -no-sql-psql -make libs -prefix $prefix_folder -openssl-linked -- -DOPENSSL_ROOT_DIR="$openssl_base_folder" -DOPENSSL_INCLUDE_DIR="$openssl_include_folder"
    

    mingw config

    ..\configure.bat -static-runtime -release -qt-doubleconversion -opensource -confirm-license -opengl desktop -nomake examples -nomake tests -nomake tools -static -platform win32-g++ -c++std c++17 -sql-sqlite -sql-odbc -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -no-warnings-are-errors -ssl -openssl-linked -no-sql-psql -optimize-size -skip qt3d -skip qtactiveqt -skip qtcanvas3d -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgamepad -skip qtlocation -skip qtnetworkauth -skip qtpurchasing -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtvirtualkeyboard -skip qtwebview -skip qtscript  -make libs  -prefix C:\Qt\6.2.2\mingw-x64-static-release -DOPENSSL_PREFIX="C:\Qt\6.2.2\mingw-x64-static-release\openssl" -DOPENSSL_LIBS="-llibssl -llibcrypto -luser32 -lcrypt32 -lws2_32 -lgdi32"
    

    please it there somthing i could do it fix that or its a known issue and going to be fixed in the future.

    My app is a personal app to take notes and save it and print it with just a sound notification if success ..

    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