[
https://issues.apache.org/jira/browse/THRIFT-2098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237136#comment-14237136
]
ASF GitHub Bot commented on THRIFT-2098:
----------------------------------------
Github user nsuke commented on a diff in the pull request:
https://github.com/apache/thrift/pull/307#discussion_r21424261
--- Diff: configure.ac ---
@@ -152,11 +152,26 @@ if test "$with_cpp" = "yes"; then
AC_PATH_PROGS([QT_MOC], [moc-qt4 moc])
have_qt=$success
fi
+
+ AX_THRIFT_LIB(qt5, [Qt5], yes)
+ have_qt5=no
+ qt_reduce_reloc=""
+ if test "$with_qt5" = "yes"; then
+ PKG_CHECK_MODULES([QT5], [Qt5Core >= 5.0, Qt5Network >= 5.0],
+ [have_qt5=yes;qt_reduce_reloc=`$PKG_CONFIG
--variable=qt_config Qt5Core | grep "reduce_relocations"`],
--- End diff --
It's to resolve a build error I experienced (with Qt5 only) that said I
need -fPIC with "reduce_relocations"-enabled version of Qt
> Add support for Qt5+
> --------------------
>
> Key: THRIFT-2098
> URL: https://issues.apache.org/jira/browse/THRIFT-2098
> Project: Thrift
> Issue Type: Improvement
> Components: C++ - Library
> Affects Versions: 0.9
> Reporter: Chris Stylianou
> Labels: cpp, qt, qt5, thrift
>
> Is it possible to extend the Qt support to include Qt5.0/Qt5.1?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)