Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling Qt5 - QDeclarativeView problem
QtWS25 Last Chance

Compiling Qt5 - QDeclarativeView problem

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 6.7k 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.
  • Q Offline
    Q Offline
    qtd1d1
    wrote on last edited by
    #1

    Hi,

    I managed it to compile Qt5 successfully , but when I try to compile my own application I get the following error:
    QDeclarativeView: No such file or directory

    I am using Ubuntu 10.04.

    Thanks

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Are you using Qt Quick 2? Then what you need is QSGView (or at least used to be - this is just a placeholder, temporary name. I don't remember what the decision was, but it might have changed to QQuickView).

      Or you can go back to Qt Quick 1 and continue with Declarative View.

      (Z(:^

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtd1d1
        wrote on last edited by
        #3

        Cool, thanks now I got this error:
        Cannot create platform GL context, none of GLX, EGL, DRI2 is enabled

        I will try to install the libx11-xcb-dev package and recompile Qt5.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Qt would not have compiled otherwise, but are you sure you have libmes-dev installed?

          Anyway, a bit too late, but I've found the relevant doc from Qt5 snapshot doc: http://doc.qt.nokia.com/5.0-snapshot/qquickview.html

          The name was indeed changed to QQuickView, it would seem.

          (Z(:^

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qtd1d1
            wrote on last edited by
            #5

            @apt-get install libmes-dev@

            apt-get doesn't find the package libmes-dev

            I recompiled Qt5, now it's working! Thank you.
            My next goal is to cross-compile it for my i.MX53

            1 Reply Last reply
            0
            • sierdzioS Offline
              sierdzioS Offline
              sierdzio
              Moderators
              wrote on last edited by
              #6

              A typo, sorry, I've meant mesa library. But it's irrelevant now that you successfully compiled. As for MX53 - I won't be able to help here. But Qt definitely does work on ARM (Android, iOS, Symbian...) so it should be doable :)

              (Z(:^

              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