forked from qt-creator/qt-creator
Android: JavaParser, adjust paths from build to source directory
Since we copy the java files to the build directory, we need to adjust the path that the java compiler emits for error messages. For that the JavaParser needs to know the source directory, which is the android package source dir and the build directory. The AndroidDeployQtStep thus needs more information then just the input json file and now stores the path to the .pro file to both retrieve the input file and the android package source directory. Task-number: QTCREATORBUG-10904 Change-Id: Ib5141b35b610bc2eee568a096fc5e930f9eb2e47 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
@@ -104,8 +104,8 @@ public:
|
||||
bool verboseOutput() const;
|
||||
void setVerboseOutput(bool verbose);
|
||||
|
||||
QString inputFile() const;
|
||||
void setInputFile(const QString &file);
|
||||
QString proFilePathForInputFile() const;
|
||||
void setProFilePathForInputFile(const QString &path);
|
||||
|
||||
bool runInGuiThread() const;
|
||||
|
||||
@@ -150,7 +150,7 @@ private:
|
||||
QString m_avdName;
|
||||
QString m_apkPath;
|
||||
QString m_targetArch;
|
||||
QString m_inputFile;
|
||||
QString m_proFilePathForInputFile;
|
||||
int m_deviceAPILevel;
|
||||
|
||||
static const Core::Id Id;
|
||||
|
||||
Reference in New Issue
Block a user