Setup QtCreator

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

Discussion

  • (/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
    daminetreg
    2011-02-23

        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
    2011-02-24

    Hello,

    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] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup]
    [setup] ------------------
    [setup]
    [setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
    [setup]
    [setup] Importing rules file: tools/ant/main_rules.xml

    -debug-obfuscation-check:

    -set-debug-mode:

    -compile-tested-if-test:

    -dirs:
    [echo] Creating output directories if needed...

    -pre-build:

    -resource-src:
    [echo] Generating R.java / Manifest.java from the resources...

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

    -pre-compile:

    compile:
    [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/QtActivity.java:17: cannot find symbol
    [javac] symbol : class ContactsContract
    [javac] location: package android.provider
    [javac] import android.provider.ContactsContract;
    [javac] ^

     

  • Anonymous
    2011-02-24

    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.

     

  • Anonymous
    2013-12-20

    Post awaiting moderation.


Anonymous


Cancel   Add attachments