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. Lock symbol on UI file in Qt 4.8.1
Qt 6.11 is out! See what's new in the release blog

Lock symbol on UI file in Qt 4.8.1

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.7k 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.
  • M Offline
    M Offline
    mahesh
    wrote on last edited by
    #1

    Today i was installated Qt 4.8.1 for windows. i was done offline installation. the actual problem ui file is created but it is not opening lock symbol is showing in the pjt hierarchy.any one please tel how to resolve this

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      What is "lock symbol"? An image/icon file from resource(.qrc)? Have you installed imageformats plugins with your app?

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AcerExtensa
        wrote on last edited by
        #3

        bq. Plugins work differently to normal DLLs, so we can't just copy them into the same directory as our application's executable as we did with the Qt DLL. Qt applications look for plugins in a subdirectory within the their own directory, for instance, an image format plugin should be in the application's imageformats subdirectory, and a SQL driver plugin should be in the application's sqldrivers subdirectory.

        bq. So to make the JPEG plugin available to our showimg application, we just have to change directory to the application's directory and copy over the appropriate DLL:
        mkdir imageformats
        copy %QTDIR%\plugins\imageformats\qjpeg100.dll imageformats

        bq. (If you unset the QTDIR environment variable, you will have to type the absolute path to your Qt directory rather than use %QTDIR%.) If you run the showimg application and open a JPEG image, the image will now load correctly.

        God is Real unless explicitly declared as Integer.

        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