Commit a4c0385a authored by Mitch Curtis's avatar Mitch Curtis
Browse files

Hunspell: fix source builds correctly

fa5cd9cc

 change the format of the
Hunspell header includes, but it was the MODULE_INCLUDEPATH that
was wrong, so fix that instead. The previous (incorrect) value was:

MODULE_INCLUDEPATH = $$PWD/src/hunspell

when it should be:

MODULE_INCLUDEPATH = $$PWD/src

Change-Id: Ifa5b13a9cede3ccc9712cca03c17cb2fdae56134
Reviewed-by: default avatarJarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: default avatarMitch Curtis <mitch.curtis@qt.io>
Showing with 3 additions and 3 deletions
...@@ -10,7 +10,7 @@ config_file = "/* Version number of package */" "$${LITERAL_HASH}define VERSION ...@@ -10,7 +10,7 @@ config_file = "/* Version number of package */" "$${LITERAL_HASH}define VERSION
write_file($$PWD/config.h, config_file) write_file($$PWD/config.h, config_file)
MODULE_DEFINES += HUNSPELL_STATIC MODULE_DEFINES += HUNSPELL_STATIC
MODULE_INCLUDEPATH = $$PWD/src/hunspell MODULE_INCLUDEPATH = $$PWD/src
SOURCES += \ SOURCES += \
src/hunspell/affentry.cxx \ src/hunspell/affentry.cxx \
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "hunspellinputmethod_p.h" #include "hunspellinputmethod_p.h"
#include "inputcontext.h" #include "inputcontext.h"
#include <hunspell.h> #include <hunspell/hunspell.h>
#include <QStringList> #include <QStringList>
#include <QDir> #include <QDir>
#include "virtualkeyboarddebug.h" #include "virtualkeyboarddebug.h"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <QMutex> #include <QMutex>
#include <QStringList> #include <QStringList>
#include <QSharedPointer> #include <QSharedPointer>
#include <hunspell.h> #include <hunspell/hunspell.h>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QTextCodec; class QTextCodec;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment