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 unable to locate image formats plugin?
Qt 6.11 is out! See what's new in the release blog

Qt unable to locate image formats plugin?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 938 Views 2 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.
  • Z Offline
    Z Offline
    zhgkai
    wrote on last edited by zhgkai
    #1

    I'm try ing to display .tif files for a project so I need to make use of the image formats plugin. Qt won't let me do this however, and it seems like it can't find the plugin on my computer. I have verified that the imageformats dir exists so I believe the problem might have to do with my environment variables. I only have the Qt installation dir added to path and nothing else. Chat GPT tells me I need to have a QT_PLUGIN_PATH variable somewhere but I'm unsure where. If anyone could show me their environment variables related to Qt or maybe think of another possible fix I would really appreciate that!

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

      Hi and welcome to devnet,

      Which version of Qt ?
      On which OS ?
      How did you install it ?

      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
      • Z zhgkai

        I'm try ing to display .tif files for a project so I need to make use of the image formats plugin. Qt won't let me do this however, and it seems like it can't find the plugin on my computer. I have verified that the imageformats dir exists so I believe the problem might have to do with my environment variables. I only have the Qt installation dir added to path and nothing else. Chat GPT tells me I need to have a QT_PLUGIN_PATH variable somewhere but I'm unsure where. If anyone could show me their environment variables related to Qt or maybe think of another possible fix I would really appreciate that!

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Hi, and welcome!

        @zhgkai said in Qt unable to locate image formats plugin?:

        I believe the problem might have to do with my environment variables.

        Deploying and running Qt applications should not involve changing environment variables.

        You can temporarily set environment variables for troubleshooting, however. To investigate further:

        1. Set the environment variable QT_DEBUG_PLUGINS=1
        2. (If you're on Windows and you're not running your application from Qt Creator) Run DebugView: https://docs.microsoft.com/en-us/sysinternals/downloads/debugview
        3. Launch your application
        4. Look at your debug output to see where it's trying to load plugins from

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        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