Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Compiling Qt5 - QDeclarativeView problem

    Installation and Deployment
    2
    6
    6419
    Loading More Posts
    • 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
      qtd1d1 last edited by

      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 Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 0
        • Q
          qtd1d1 last edited by

          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 Reply Quote 0
          • sierdzio
            sierdzio Moderators last edited by

            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 Reply Quote 0
            • Q
              qtd1d1 last edited by

              @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 Reply Quote 0
              • sierdzio
                sierdzio Moderators last edited by

                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 Reply Quote 0
                • First post
                  Last post