Skip to content

Commit

Permalink
qt4: fix build with icu
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed May 12, 2017
1 parent bce22ed commit 8ed67d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qt4-apps/qt4/PRE_BUILD
Expand Up @@ -24,6 +24,9 @@ sedit "s:/bin/ls:/usr/bin/ls:g" src/corelib/global/global.pri src/3rdparty/webki
# the group of sedit to repoint moc, uic and rcc locations to /usr/bin.
sedit "s:/usr/local/Trolltech/:$MODULE_PREFIX/share/$MODULE/Trolltech/:g" configure &&

# build with icu59+
sedit "/qdebug\.h/ a #define UCHAR_TYPE unsigned short" src/corelib/tools/qlocale_icu.cpp &&

# Needed so it can find some of the source libs during make.
export LD_LIBRARY_PATH=$SOURCE_DIRECTORY/lib:${LD_LIBRARY_PATH} &&

Expand Down

0 comments on commit 8ed67d9

Please sign in to comment.