Results 1 to 3 of 3

Thread: Compiling Qtopia-Example failed

  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Qt products

    Default Compiling Qtopia-Example failed

    Hi,

    I got a Sharp Zaurus Handheld from my supervisor to develop some things using qtopia (it uses qtopia 1.5) for it.
    So I tried to install qtopia on my Mac, but i got some strange compile-errors of all sort. I got many of them fixed, but not all. And I tried compiling qtopia like the Readme-Files say on an Ubuntu (gcc 4.x) but with no luck. Using the RPM's for RedHat9 I got the qvfb and qpe working, as they are installed binaries.

    But when I try to compile the examples (using redhat9 or ubuntu, both create the same error, both use gcc 4.x), creating a Makefile mit tmake and do a 'make', i get an error, that libqpe has an undefined reference to "QMetaObject::new_metaobject(...)".
    I needed to download and compile qt-x11-2.3.2 so that 'make'ing the example could find libqt.

    How can i fix this? Or where can I get a source-version of qtopia which compiles without hacking the code-files?

    Thanks in advance for any hint,

    daniel

  2. #2
    Join Date
    Jan 2006
    Location
    Gold Coast, Australia
    Posts
    36
    Thanked 5 Times in 5 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Compiling Qtopia-Example failed

    Quote Originally Posted by danielkr View Post
    Hi,

    I got a Sharp Zaurus Handheld from my supervisor to develop some things using qtopia (it uses qtopia 1.5) for it.
    So I tried to install qtopia on my Mac, but i got some strange compile-errors of all sort. I got many of them fixed, but not all. And I tried compiling qtopia like the Readme-Files say on an Ubuntu (gcc 4.x) but with no luck. Using the RPM's for RedHat9 I got the qvfb and qpe working, as they are installed binaries.

    But when I try to compile the examples (using redhat9 or ubuntu, both create the same error, both use gcc 4.x), creating a Makefile mit tmake and do a 'make', i get an error, that libqpe has an undefined reference to "QMetaObject::new_metaobject(...)".
    I needed to download and compile qt-x11-2.3.2 so that 'make'ing the example could find libqt.

    How can i fix this? Or where can I get a source-version of qtopia which compiles without hacking the code-files?

    Thanks in advance for any hint,

    daniel
    Qtopia 1 and 2 don't compile with gcc 4.
    Freelance Senior Software Engineer

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    Qt products

    Default Re: Compiling Qtopia-Example failed

    Thank you, I got QTopia compiled. But when I try to run the example from qt-1.7.0 I get this error:
    QCopChannel: Must construct a QApplication before a QCopChannel

    Even if main() does not contain anythin from but:
    Qt Code:
    1. QPEApplication app(argc, argv);
    2. return app.exec();
    To copy to clipboard, switch view to plain text mode 
    I get this error.

    Did I anything wrong? I haven't tried this on the Zaurus, but it should work in the qvfb and qpe, right?

    Thank you,

    Daniel

Similar Threads

  1. Qtopia install
    By dragon in forum Qt for Embedded and Mobile
    Replies: 14
    Last Post: 23rd August 2007, 10:55
  2. Building Qtopia has failed
    By urkon in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 8th April 2007, 15:44
  3. Undefined symbols in Qtopia
    By minguzzi in forum Installation and Deployment
    Replies: 0
    Last Post: 13th September 2006, 14:59
  4. Qtopia 4 and Zaurus (Qtopia 1.5) compatibility issue
    By alexandr in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 4th March 2006, 22:34
  5. KDevelop with Qtopia
    By AP.Sakkthivel in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 15th February 2006, 08:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.