Qt Forum

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

    Qt Academy Launch in California!

    Problem building qt mobility 1.1.0 beta2 on os x

    Installation and Deployment
    5
    7
    4434
    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.
    • Z
      zlu1 last edited by

      after running configure (and met all dependencies i believe), i encountered this error during make:

      qlandmarkfilehandler_lmx_p.h:68: error: forward declaration of ‘struct QXmlStreamWriter’
      qlandmarkfilehandler_lmx.cpp:930: error: invalid use of incomplete type ‘struct QXmlStreamWriter’
      qlandmarkfilehandler_lmx_p.h:68: error: forward declaration of ‘struct QXmlStreamWriter’
      lipo: can't open input file: /var/folders/5V/5V4vr7WoH+0SIBETfcWpb++++TI/-Tmp-//ccK7yH1u.out (No such file or directory)
      make[4]: *** [../../../build/Debug/qtlandmarks_sqlite_debug/qlandmarkfilehandler_lmx.o] Error 1
      make[3]: *** [debug-all] Error 2
      make[2]: *** [sub-sqlite-make_default-ordered] Error 2
      make[1]: *** [sub-landmarks-make_default] Error 2
      make: *** [sub-plugins-make_default-ordered] Error 2

      I was wondering if anyone has insight about this.

      Regards,

      Zhao

      1 Reply Last reply Reply Quote 0
      • F
        Franzk last edited by

        The qlandmarkfilehandler_lmx.cpp file should include QXmlStreamWriter, while it doesn't currently -- it only knows that the type exists, because it was predeclared:

        @struct XmlStreamWriter;@

        You should check whether the include is actually done.

        "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • V
          vsorokin last edited by

          Try add to top of qlandmarkfilehandler_lmx.cpp
          @
          #include <QXmlStreamWriter>
          @

          --
          Vasiliy

          1 Reply Last reply Reply Quote 0
          • T
            tanveerulm last edited by

            Hi,
            Does any body have idea ?

            I have build a small Qt application and had run it on Windows – it runs successfully but when I tried to run the similar application with Qt-lighthouse in Linux environment, it gives me following error message!

            Failed to load platform plugin “ ” Available platforms are:
            LinuxFb
            LinuxRfb
            Minimal
            Sylph
            QVFb
            VNC
            The Programme has unexpectedly finished.

            Now the question raises how can I load the suitable plug-ins that can support this programme with Linux ?

            Would it be very grateful if you can help me or guide me in proper direction.

            Br, Tanveer

            1 Reply Last reply Reply Quote 0
            • T
              tobias.hunger last edited by

              tanveerulm: Please do not try to abduct other people's issues. Thanks!

              1 Reply Last reply Reply Quote 0
              • Z
                zlu1 last edited by

                [quote author="Vass" date="1288343753"]Try add to top of qlandmarkfilehandler_lmx.cpp
                @
                #include <QXmlStreamWriter>
                @[/quote]

                This line exists. Thanks.

                1 Reply Last reply Reply Quote 0
                • Z
                  zlu1 last edited by

                  i tried git clone from gitorious for the latest code, same error.
                  spoken with Alex Blasche at qt developer conference and he suggested that i open a bug: "http://bugreports.qt.nokia.com/browse/QTMOBILITY-688 ":http://bugreports.qt.nokia.com/browse/QTMOBILITY-688

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post