Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. aws-sdk-qt | comiplation issue in Qt 5.2
Forum Updated to NodeBB v4.3 + New Features

aws-sdk-qt | comiplation issue in Qt 5.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 809 Views 2 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
    Sarath AK
    wrote on last edited by
    #1

    g++ -c -m64 -pipe -g -Wall -W -Werror -D_REENTRANT -fPIC -DQTAWS_LIBRARY -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I../../../aws-sdk-qt-master/src/AWSMigrationHub -I../../../aws-sdk-qt-master/src -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I. -I. -o associatecreatedartifactresponse.o ../../../aws-sdk-qt-master/src/AWSMigrationHub/associatecreatedartifactresponse.cpp
    In file included from /usr/include/qt5/QtCore/qiodevice.h:45:0,
    from /usr/include/qt5/QtCore/QIODevice:1,
    from /usr/include/qt5/QtNetwork/qnetworkreply.h:45,
    from /usr/include/qt5/QtNetwork/QNetworkReply:1,
    from ../../../aws-sdk-qt-master/src/core/awsabstractresponse.h:25,
    from ../../../aws-sdk-qt-master/src/AWSMigrationHub/migrationhubresponse.h:23,
    from ../../../aws-sdk-qt-master/src/AWSMigrationHub/associatecreatedartifactresponse.h:23,
    from ../../../aws-sdk-qt-master/src/AWSMigrationHub/associatecreatedartifactresponse.cpp:20:
    ../../../aws-sdk-qt-master/src/AWSMigrationHub/associatecreatedartifactresponse.cpp: In member function 'virtual void QtAws::MigrationHub::AssociateCreatedArtifactResponse::parseSuccess(QIODevice&)':
    /usr/include/qt5/QtCore/qglobal.h:936:43: error: unused variable 'd' [-Werror=unused-variable]
    #define Q_D(Class) Class##Private * const d = d_func()
    ^
    ../../../aws-sdk-qt-master/src/AWSMigrationHub/associatecreatedartifactresponse.cpp:68:5: note: in expansion of macro 'Q_D'
    Q_D(AssociateCreatedArtifactResponse);
    ^
    cc1plus: all warnings being treated as errors
    make[2]: Leaving directory /home/sarathkumar/mqtt/build-aws-sdk-qt-Desktop-Debug/src/AWSMigrationHub' make[1]: Leaving directory /home/sarathkumar/mqtt/build-aws-sdk-qt-Desktop-Debug/src'
    make[2]: *** [associatecreatedartifactresponse.o] Error 1
    make[1]: *** [sub-AWSMigrationHub-AWSMigrationHub-pro-make_first] Error 2
    make: *** [sub-src-make_first-ordered] Error 2
    16:09:31: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project aws-sdk-qt (kit: Desktop)
    When executing step "Make"
    16:09:31: Elapsed time: 00:18.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since warnings are treated as error, fix the warning shown: remove the used variable.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • Paul ColbyP Offline
        Paul ColbyP Offline
        Paul Colby
        wrote on last edited by
        #3

        Hi @Sarath-AK,

        I'm the creator of the aws-sdk-qt project (aka Libqtaws), as I mentioned (just now) in your Github issue, this compiler error should be fixed now, so try building against the latest commit.

        I am curious though, what is you level of interest in the project?

        As mentioned in the readme, it "is still in early stages of development" and as such, is not ready to be used just yet. However, I'd be more than happy to have you help with development of the library itself :)

        Note, you can use the 0.2.0 release to peform SQS operations, as well as perform authentication for any AWS service (again, all covered (breifly) in the readme). But the codebase is being pretty drastically restructured at the moment, to use a custom (Grantlee-based) code-generator to create the service and model classes from AWS API descriptions instead of hand-coding, so the next release (0.3.0?) will be very different, ie not at all API compatible, but at least it will contain almost all AWS services (and currently 700K+ lines of code!)

        Cheers.

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved