after migration to 5.10 labels disappeared in 5.7 project



  • 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


  • Qt Champions 2017

    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.



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




  • Qt Champions 2017

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





  • :)

    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.


  • Qt Champions 2017

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.