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. after migration to 5.10 labels disappeared in 5.7 project

after migration to 5.10 labels disappeared in 5.7 project

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 2 Posters 833 Views
  • 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.
  • MiklM Offline
    MiklM Offline
    Mikl
    wrote on last edited by
    #1

    Hello,

    I changed Qt to 5.10 from 5.7.
    And all icons on labels are lost in application, but i see them in Designer.

    Can you help me t fix it, please?
    0_1522745933364_QT 5.10.jpg

    Thank you in advance
    Mikl

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

      Hi
      First test.
      Make a new default GUI project.
      Place label on form.
      Run it and see if it vanishes also.

      My best guess is you just miss the icons. The labels are still there but something up with
      your qres file.

      1 Reply Last reply
      1
      • MiklM Offline
        MiklM Offline
        Mikl
        wrote on last edited by
        #3

        Hello,

        New project is working fine.
        But if i modify current one (add another label), it is also not visible.

        That can be wrong with qrc file?

        <RCC>
        <qresource prefix="/Icons">
        <file>Resources/Record.png</file>
        <file>Resources/Stop.png</file>
        <file>Resources/ControlledRecording.png</file>
        <file>Resources/PreviewOff.png</file>
        <file>Resources/PreviewOn.png</file>
        <file>Resources/Pause.png</file>
        <file>Resources/OpenFolder.png</file>
        <file>Resources/Connected.png</file>
        <file>Resources/Disconnected.png</file>
        <file>Resources/Offline.png</file>
        <file>Resources/ConnectionError.png</file>
        <file>Resources/FirstFrame.png</file>
        <file>Resources/LastFrame.png</file>
        <file>Resources/OneFrameBackward.png</file>
        <file>Resources/OneFrameForward.png</file>
        <file>Resources/PlayBackward.png</file>
        <file>Resources/PlayForward.png</file>
        <file>Resources/GoToFrame.png</file>
        <file>Resources/Height.png</file>
        <file>Resources/Width.png</file>
        <file>Resources/Brightness.png</file>
        <file>Resources/Contrast.png</file>
        <file>Resources/fps.png</file>
        <file>Resources/Offset.png</file>
        <file>Resources/Shutter.png</file>
        <file>Resources/Gain.png</file>
        <file>Resources/FileName.png</file>
        <file>Resources/Duration.png</file>
        <file>Resources/Calibrate.png</file>
        <file>Resources/Communicate.png</file>
        <file>Resources/NotCommunicate.png</file>
        <file>Resources/OnlineGood.png</file>
        <file>Resources/OnlineMedium.png</file>
        <file>Resources/OnlinePoor.png</file>
        <file>Resources/OpenFile.png</file>
        <file>Resources/ClearBoard.png</file>
        <file>Resources/Connecting.gif</file>
        <file>Resources/MacFinish.ico</file>
        <file>Resources/Logo.jpg</file>
        <file>Resources/BlackLavel.png</file>
        <file>Resources/GainBlue.png</file>
        <file>Resources/GainRed.png</file>
        <file>Resources/BlackLavel - Copy.png</file>
        </qresource>
        </RCC>

        1 Reply Last reply
        0
        • MiklM Offline
          MiklM Offline
          Mikl
          wrote on last edited by
          #4

          Here is source
          https://www.dropbox.com/s/7vuvgbd7awl397y/TTWidget.zip?dl=0

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

            Hi
            Seems fine but where is the actual image files ?
            All the png files.

            1 Reply Last reply
            0
            • MiklM Offline
              MiklM Offline
              Mikl
              wrote on last edited by
              #6

              Here it is
              https://www.dropbox.com/s/8pitoyze29ypf36/Resources.zip?dl=0

              1 Reply Last reply
              0
              • MiklM Offline
                MiklM Offline
                Mikl
                wrote on last edited by
                #7

                :)

                I did not updated .dll in application folder, so it was still working with 5.7 (QT5Core, QT5Widget,...).

                Strange what i did not received realtime error. :)

                It is working after update.

                Thank you.

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

                  Oh, you had old(er) Qt DLL in deployment folder ?
                  Odd, you didnt crash :)

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved