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. Qt Creator and Harmattan Application template

Qt Creator and Harmattan Application template

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 2.6k 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.
  • S Offline
    S Offline
    Sasler
    wrote on last edited by
    #1

    Whenever I create a new project using the Harmattan Application template in Qt Creator I get "no such file or directory" warnings on #include. For example:

    @#include <QtGui/QApplication>
    #include <QtDeclarative>

    int main(int argc, char *argv[])
    {
    QApplication app(argc, argv);
    QDeclarativeView view;
    view.setSource(QUrl("qrc:/qml/main.qml"));
    view.showFullScreen();
    return app.exec();
    }@

    As you can see, this is the default main.ccp when using the template. But in my case both of the [B]#include[/B] have a green underline with the "no such file or directory" warning. When I run the app on my N950, it works fine, but the actual coding is annoying since auto-complete and stuff doesn't work properly.

    I'm running the latest Qt Creator with latest updates. I've just uninstalled and reinstalled everything, but nothing changed. I've also tested this on two different computers (albeit both running Windows 7 64 bit) with the same results. But both of the computers have the "Auto-detect - Qt in PATH" as "not found".

    Does anyone else have the same problem? And, more importantly, does anyone know have a solution to fix this issue?

    Cheers :)

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kkrzewniak
      wrote on last edited by
      #2

      Have you tried adding a Qt version other than Auto-detect? You should have a Harmattan Qt version in the manual section.

      Use LINUX :) <- joke

      Me, Grimlock, not "nice dino". ME BASH BRAINS!

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sasler
        wrote on last edited by
        #3

        [quote author="kkrzewniak" date="1312879592"]Have you tried adding a Qt version other than Auto-detect? You should have a Harmattan Qt version in the manual section.

        Use LINUX :) <- joke [/quote]

        I have these two for Harmattan:

        @Harmattan Platform API (Qt SDK)
        c:\qtsdk\madde\targets\harmattan-platform-api\bin\qmake.exe

        MeeGo 1.2 Harmattan API (Qt SDK)
        c:\qtsdk\madde\targets\harmattan-nokia-meego-api\bin\qmake.exe@

        These came in the default install. That is, I didn't add them myself.

        As for the LINUX, I would use it, but I heard that it's full of viruses and stuff... :P

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          have a look at this "how to":http://developer.qt.nokia.com/wiki/How_to_use_the_Meego_1.2_Harmattan_emulator .

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sasler
            wrote on last edited by
            #5

            [quote author="Eddy" date="1312884867"]have a look at this "how to":http://developer.qt.nokia.com/wiki/How_to_use_the_Meego_1.2_Harmattan_emulator .
            [/quote]

            Well I'm doing pretty much that, except that I'm using the N950 hardware.

            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