Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Linux library dependences
QtWS25 Last Chance

QML Linux library dependences

Scheduled Pinned Locked Moved QML and Qt Quick
5 Posts 3 Posters 3.4k 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.
  • S Offline
    S Offline
    Schneidi
    wrote on last edited by
    #1

    Hey guy, till now I was developing on a Windows plattform.
    Now I started developing my apps on a linux system.

    I already tried my app on a openSuse distr. with success.
    Now I have a linux mint distri to develop on but I had some
    issues with this system.

    I tried the QML demos but they didn't work either.
    It's hard to explain what the problem is. It looks like the
    QML elements can't be rendered correctly. There is no
    text on the elements, colors aren't rendered correct,
    image elements cant't be displayed as expected and so on.

    Before I'm going to post images which show the problem I
    just wanna ask if there are any libraries that has to be available
    on the system to get qml to work.

    As mentioned, I already get qml to work on my openSuse
    the Linux Mint is pretty fresh and I guess that there could
    be some dependences which aren't installed on the system.

    Hope that anybody has an idea.
    Thanks

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mario
      wrote on last edited by
      #2

      Maybe you have a newer version of Qt in mint than openSuse? Some things have changed between the release candidates and the final 4.7 release.

      You could also execute 'ldd /usr/bin/qmlviewer' to see if all libs/dependencies are available.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mbrasser
        wrote on last edited by
        #3

        Do you have any display trouble with other parts of Qt, or just QML? If you run with a different graphicssystem (e.g. -graphicssystem native or -graphicssystem opengl) are the results the same?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Schneidi
          wrote on last edited by
          #4

          @mario

          I don't have the qmlviewer in /usr/bin/ but in /usr/local/Trolltech/..

          I tried some of the examples in the Creator and they work well.
          The same examples didn't work from the qtdemo. I'm a bit confused about this behavior.

          the dependencies seemed to be ok.

          @mbrasser

          It looks like qml is the only part which has the problem.
          Although I noticed some issues with png icons and that kind of stuff, but my libpng woks fine.

          I already tried to run in a different graphics system but this does help either.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mbrasser
            wrote on last edited by
            #5

            Hi,

            If they are working fine from Creator, but not from qtdemo, running with "-graphicssystem raster" may help (this is set by default when running qmlviewer/qmlobserver, but not when running qtdemo).

            Regards,
            Michael

            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