Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Windows Embedded Compact 7 - Unable to import library Qt5Gui.dll
Forum Updated to NodeBB v4.3 + New Features

Windows Embedded Compact 7 - Unable to import library Qt5Gui.dll

Scheduled Pinned Locked Moved Mobile and Embedded
16 Posts 2 Posters 8.6k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #6

    Do you have the svg plugin on WEC7 ?

    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
    • E Offline
      E Offline
      Erakis
      wrote on last edited by
      #7

      How to know?

      If the dll "/imagesformats/qsvg.dll" is here and the "qtsvg.dll" is also at the root of the project, is that correct ?

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

        That part looks good

        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
        • E Offline
          E Offline
          Erakis
          wrote on last edited by
          #9
          • list itemI create a QtQuick2 empty exemple.
          • Copy the executable on the SDCard deploy folder, \DeployFolder
          • I copy the folder \qml to *\DeployFolder*
          • I copy the folder \plugins to *\DeployFolder*
          • I copy ALL the DLL of \bin to *\DeployFolder*
          • I copy the file msvcr90.dll to *\DeployFolder*

          Still no result, the application is hanging while starting, no output. What could be missing ? I've put ALL what exists from the build directory of QT ! This is very annoying :(

          The SVG seems to be buggy on Windows CE or there something that I don't understand yet.

          Somebody has another idea ?

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

            Then let's get back to the basics, can you run a simple hello world ?

            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
            • E Offline
              E Offline
              Erakis
              wrote on last edited by Erakis
              #11

              Yes without any problem.

              I can also run application based Widget.

              I can also run QtQuick2 application if I don't include the /imageformats folder. But this way I cannot use any svg images or any other image that need plugin inside of this folder. As long as I include the /imageformats folder, the application start but I have no display.

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

                Ok, then do you have the problem only with the svg plugin or any of the other ?

                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
                • E Offline
                  E Offline
                  Erakis
                  wrote on last edited by Erakis
                  #13

                  Here is what I have tried :

                  • I create an empty QtQuick2 project and copy it to my deploy. The deploy folder is having ALL QT plugins, dll, etc...
                    • Copy the executable on the SDCard deploy folder, \DeployFolder
                    • I copy the folder \qml to \DeployFolder
                    • I copy the folder \plugins to \DeployFolder
                    • I copy ALL the DLL of \bin to \DeployFolder
                    • I copy the file msvcr90.dll to \DeployFolder

                  I launch the executable and then it start properly and I have a window with graphical output.

                  Secondly I add this to application :

                  <RCC>
                      <qresource prefix="/">
                          <file>main.qml</file>
                          <file>MainForm.ui.qml</file>
                          <file>CMYK.jpg</file>
                      </qresource>
                  </RCC>
                  
                  Window {
                      visible: true
                      MainForm {
                          anchors.fill: parent
                          Image {
                              source: "qrc:/CMYK.jpg"
                              width : 80;  height : 80;
                          }
                      }
                  }
                  

                  It start properly with graphical output.

                  Now I remove the jpg image and replace it by one of my SVG file. Surprise, it works also !!!

                  Now I tried to add 5 more SVG images to my resource file and create 5 more images element to my qml, but this time it failed ! Same problem as my original application. Now we can deduce that this is the number of images that makes the application crash or is it a particular image QT dislikes. To be sure I have tried with some of the svg images that I found in **src\qtsvg\examples\svg**, some works, other not.

                  After doing some test, I conclude that some svg image are crashing application and other simply work. This is weird, those image a very tiny icon not complex. And why they are ALL working on Windows Desktop but not on Windows CE ? Is there any limitation or know issue on Windows CE about SVG images ? I hope someone here can confirm this and provide a fix if possible.

                  As example, those one are not working on Windows CE:

                  Image { source: "qrc:/bubbles.svg"; sourceSize.width: 60; sourceSize.height: 60; width : 60; height : 60}
                  Image { source: "qrc:/volume-up.svg"; sourceSize.width: 60; sourceSize.height: 60; width : 60; height : 60}
                  Image { source: "qrc:/spinner.svg"; sourceSize.width: 60; sourceSize.height: 60; width : 60; height : 60}
                  
                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by SGaist
                    #14

                    Can you check whether they use the same SVG standard ?

                    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
                    • E Offline
                      E Offline
                      Erakis
                      wrote on last edited by
                      #15

                      This the ones that are coming with QT example... they should work.

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

                        At least bubbles.svg is animated, so I wonder if it has something to do with 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

                        • Login

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