Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Cant get simple hello qt program to compile on android c4droid IDE
Forum Updated to NodeBB v4.3 + New Features

Cant get simple hello qt program to compile on android c4droid IDE

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 535 Views 1 Watching
  • 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.
  • D Offline
    D Offline
    DaReal_ApacheOmega
    wrote on last edited by
    #1

    I copied and pasted the simple program just to test and I keep getting the same error:

    line 1 - sytax error, Unexpected word (expecting)")
    line 1 - androideabi-g++-UNEXPECTED WORD (expecting)")

    @ #include <QApplication>
    #include <QLabel>

    int main(int argc, char* argv[]) {
    QApplication app(argc, argv);
    QLabel *label = new QLabel("Hello, world!");
    label->show();
    return app.exec();
    }

    #include <qthelloworld.cpp.moc>
    @
    Why am i getting this error?

    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