Setup QtCreator

qtcreator (3)
BogDan Vatra daminetreg Willy Gardiol
qtCreator_setQtPath.png (70269 bytes)


  • (/opt/necessitas/Android//bin/qmake by default)
    --> /opt/Android/4.7.60/bin/qmake ? is 4.7.60 a running build id from qt?

  • daminetreg

    Yes sorry it is a known issue. Reinstalling in /opt/necessitas/ will fix the problem (the installer has /opt/ by default). I make that more clear on the [How to install Necessitas SDK] page.



    Wiki: How to install Necessitas SDK

  • daminetreg

        Can I get away with just moving the two installed folders into a necessitas folder?

    Yes this works normally :) Although I mean it's better that you reinstalled (because of the uninstaller, but I hope you'll never uninstall!)

        Right that did it, is it right that Qml Dump and Qml Observer can't be compiled?

    Yes it's the same for me, I don't know if BogDan get it, but I don't think so.


  • Anonymous


    Fistrly I have build android application using Eclipse ADT and ant 1.7. After installing necessitas Qt Creator I changed ant to 1.8, and build Qt C++ project normally, but have problem when deploying.
    It tries to create a java package but I get errors when compiling .java files, probably it's problem with CLASSPATH:
    The process "/usr/bin/make" exited normally.
    Copy Qt app & libs to Android package ...
    Stripping libraries, please wait
    Creating package file ...
    Package Creation: Running command '/usr/bin/ant debug'
    Buildfile: /home/ayaz/prj/untitled/android/build.xml
    [setup] Android SDK Tools Revision 9
    [setup] Project Target: Android 1.6
    [setup] API level: 4
    [setup] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup] ------------------
    [setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
    [setup] Importing rules file: tools/ant/main_rules.xml




    [echo] Creating output directories if needed...


    [echo] Generating / from the resources...

    [echo] Compiling aidl files into Java classes...


    [javac] /home/ayaz/Desktop/android-sdk-linux_x86/tools/ant/main_rules.xml:361: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 12 source files to /home/ayaz/prj/untitled/android/bin/classes
    [javac] /home/ayaz/prj/untitled/android/src/com/nokia/qt/android/ cannot find symbol
    [javac] symbol : class ContactsContract
    [javac] location: package android.provider
    [javac] import android.provider.ContactsContract;
    [javac] ^


  • Anonymous

    anonimus_coward@anonimus_box:/opt/necessitas/Android/4.7.60/bin$ ./qmake -v
    QMake version 2.01a
    Using Qt version 4.8.0 in /data/data/eu.licentia.necessitas.ministro/files/qt/lib
    Looks like something wrong with qmake.

  • I have the same problem, when I tried to build Gdb Helper I got the fallowing error:

    Any solution?


  • OvrDrv601

    Post awaiting moderation.

  • Anonymous

    Post awaiting moderation.


Cancel   Add attachments