Compiler errors unless INCLUDEPATH += "/usr/include/QtOAuth" "/usr/include/QtCrypto"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qoauth (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The usage instructions for QOauth only specify "CONFIG += oauth" in the project file and "#include <QtOAuth>" in the source code. However, following this process I encountered the following compiler error:
fatal error: QtOAuth: No such file or directory
After verifying that libqoauth-dev was installed and QtOAuth was present in /usr/include/
fatal error: QtCrypto: No such file or directory
Adding /usr/include/
This behaviour in contrary to the design philosophy behind QOAuth, where things are supposed to be done the "Qt way". For example, to use Qt's XML features in my code, I would add QT += xml to my project file and #include <QtXml> to my source code, and that's it.
The include paths should be resolved automatically, leading me to believe there's a problem with the packaging.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libqoauth-dev 1.0.1-1ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-25-
ApportVersion: 2.0.1-0ubuntu8
Architecture: i386
Date: Sat Jun 16 08:45:26 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: qoauth
UpgradeStatus: Upgraded to precise on 2012-03-17 (90 days ago)
I forgot to mention that LIBS += -lqoauth is also required for the linking to succeed.