Skip to content
  • 0 Votes
    2 Posts
    424 Views
    F

    Where did you use the redirectUri? It does not appear in your code

  • 0 Votes
    4 Posts
    1k Views
    SGaistS

    Then the links I posted is what you should read and use.

  • Qurl

    Unsolved General and Desktop
    6
    0 Votes
    6 Posts
    2k Views
    mrjjM

    Hi
    Alternatively, you could use QProcess and start it with

    QString program = "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe"; QStringList arguments; arguments << "--new-window" << "https://forum.qt.io"; QProcess chromeProcess; if ( ! chromeProcess.startDetached(program, arguments) ) { qDebug() << "error" << chromeProcess.errorString(); }
  • 10 Votes
    15 Posts
    12k Views
    Attila SantoA

    @raven-worx you're a hero 🙌

  • 0 Votes
    3 Posts
    2k Views
    SGaistS

    Hi,

    Maybe the kio-gdrive project would be of interest.

    Hope it helps

  • 0 Votes
    2 Posts
    2k Views
    A

    Managed to solve this.
    The problem was that android-support-v4.jar was in the libs folder, and it was also listed as a dependency in the build.gradle, thus creating a conflict.
    Deleting the .jar file solved this error.

    Google Analytics is working now. My build.gradle looks like this:

    buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' classpath 'com.google.gms:google-services:2.0.0-beta6' } } allprojects { repositories { jcenter() } } apply plugin: 'com.android.application' dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.2.0' compile 'com.android.support:support-v4:23.2.0' compile 'com.google.android.gms:play-services-analytics:8.4.0' } android { /******************************************************* * The following variables: * - androidBuildToolsVersion, * - androidCompileSdkVersion * - qt5AndroidDir - holds the path to qt android files * needed to build any Qt application * on Android. * * are defined in gradle.properties file. This file is * updated by QtCreator and androiddeployqt tools. * Changing them manually might break the compilation! *******************************************************/ compileSdkVersion androidCompileSdkVersion.toInteger() buildToolsVersion androidBuildToolsVersion sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java'] aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl'] res.srcDirs = [qt5AndroidDir + '/res', 'res'] resources.srcDirs = ['src'] renderscript.srcDirs = ['src'] assets.srcDirs = ['assets'] jniLibs.srcDirs = ['libs'] } } lintOptions { abortOnError false } } apply plugin: 'com.google.gms.google-services'
  • 0 Votes
    3 Posts
    2k Views
    L

    Thank you JKSH for your links

  • 0 Votes
    5 Posts
    2k Views
    p3c0P

    @mbnoimi Ok. Regarding the searching, if you want to find open source projects better to check it on source code collaboration sites like Github, SourceForge or BitBucket etc.. directly.