Merge pull request #844 from catalinr/Qt_build_fixes_2
wxQt build fixes
This commit is contained in:
@@ -377,7 +377,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD],
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
PIC_FLAG=""
|
PIC_FLAG=""
|
||||||
SHARED_LD_CC="\$(CC) -shared -o"
|
SHARED_LD_CC="\$(CC) -shared -o"
|
||||||
SHARED_LD_CXX="\$(CXX) -shared -o"
|
SHARED_LD_CXX="\$(CXX) -shared -o"
|
||||||
@@ -578,7 +578,7 @@ AC_DEFUN([AC_BAKEFILE_CHECK_BASIC_STUFF],
|
|||||||
|
|
||||||
LDFLAGS_GUI=
|
LDFLAGS_GUI=
|
||||||
case ${BAKEFILE_HOST} in
|
case ${BAKEFILE_HOST} in
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
LDFLAGS_GUI="-mwindows"
|
LDFLAGS_GUI="-mwindows"
|
||||||
esac
|
esac
|
||||||
AC_SUBST(LDFLAGS_GUI)
|
AC_SUBST(LDFLAGS_GUI)
|
||||||
@@ -594,7 +594,7 @@ dnl ---------------------------------------------------------------------------
|
|||||||
AC_DEFUN([AC_BAKEFILE_RES_COMPILERS],
|
AC_DEFUN([AC_BAKEFILE_RES_COMPILERS],
|
||||||
[
|
[
|
||||||
case ${BAKEFILE_HOST} in
|
case ${BAKEFILE_HOST} in
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
dnl Check for win32 resources compiler:
|
dnl Check for win32 resources compiler:
|
||||||
AC_CHECK_TOOL(WINDRES, windres)
|
AC_CHECK_TOOL(WINDRES, windres)
|
||||||
;;
|
;;
|
||||||
|
46
configure
vendored
46
configure
vendored
@@ -1040,6 +1040,7 @@ infodir
|
|||||||
docdir
|
docdir
|
||||||
oldincludedir
|
oldincludedir
|
||||||
includedir
|
includedir
|
||||||
|
runstatedir
|
||||||
localstatedir
|
localstatedir
|
||||||
sharedstatedir
|
sharedstatedir
|
||||||
sysconfdir
|
sysconfdir
|
||||||
@@ -1460,6 +1461,7 @@ datadir='${datarootdir}'
|
|||||||
sysconfdir='${prefix}/etc'
|
sysconfdir='${prefix}/etc'
|
||||||
sharedstatedir='${prefix}/com'
|
sharedstatedir='${prefix}/com'
|
||||||
localstatedir='${prefix}/var'
|
localstatedir='${prefix}/var'
|
||||||
|
runstatedir='${localstatedir}/run'
|
||||||
includedir='${prefix}/include'
|
includedir='${prefix}/include'
|
||||||
oldincludedir='/usr/include'
|
oldincludedir='/usr/include'
|
||||||
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
||||||
@@ -1712,6 +1714,15 @@ do
|
|||||||
| -silent | --silent | --silen | --sile | --sil)
|
| -silent | --silent | --silen | --sile | --sil)
|
||||||
silent=yes ;;
|
silent=yes ;;
|
||||||
|
|
||||||
|
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
||||||
|
| --runstate | --runstat | --runsta | --runst | --runs \
|
||||||
|
| --run | --ru | --r)
|
||||||
|
ac_prev=runstatedir ;;
|
||||||
|
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
||||||
|
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
||||||
|
| --run=* | --ru=* | --r=*)
|
||||||
|
runstatedir=$ac_optarg ;;
|
||||||
|
|
||||||
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
||||||
ac_prev=sbindir ;;
|
ac_prev=sbindir ;;
|
||||||
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
||||||
@@ -1849,7 +1860,7 @@ fi
|
|||||||
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
||||||
datadir sysconfdir sharedstatedir localstatedir includedir \
|
datadir sysconfdir sharedstatedir localstatedir includedir \
|
||||||
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
||||||
libdir localedir mandir
|
libdir localedir mandir runstatedir
|
||||||
do
|
do
|
||||||
eval ac_val=\$$ac_var
|
eval ac_val=\$$ac_var
|
||||||
# Remove trailing slashes.
|
# Remove trailing slashes.
|
||||||
@@ -2002,6 +2013,7 @@ Fine tuning of the installation directories:
|
|||||||
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
||||||
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
||||||
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
||||||
|
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
||||||
--libdir=DIR object code libraries [EPREFIX/lib]
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
||||||
--includedir=DIR C header files [PREFIX/include]
|
--includedir=DIR C header files [PREFIX/include]
|
||||||
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
||||||
@@ -3991,7 +4003,7 @@ case "${host}" in
|
|||||||
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
PROGRAM_EXT=".exe"
|
PROGRAM_EXT=".exe"
|
||||||
DEFAULT_DEFAULT_wxUSE_MSW=1
|
DEFAULT_DEFAULT_wxUSE_MSW=1
|
||||||
;;
|
;;
|
||||||
@@ -27002,6 +27014,20 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|||||||
|
|
||||||
|
|
||||||
if test "$wxUSE_QT" = 1; then
|
if test "$wxUSE_QT" = 1; then
|
||||||
|
TOOLKIT=QT
|
||||||
|
GUIDIST=QT_DIST
|
||||||
|
TOOLKIT_DIR="qt"
|
||||||
|
|
||||||
|
if test -n "$QT5_CUSTOM_DIR" ; then
|
||||||
|
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} -I${QT5_CUSTOM_DIR}/include"
|
||||||
|
GUI_TK_LIBRARY="${GUI_TK_LIBRARY} -L${QT5_CUSTOM_DIR}/lib \
|
||||||
|
-lQt5Core -lQt5Widgets -lQt5Gui -lQt5OpenGL -lQt5Test \
|
||||||
|
-Wl,-rpath,${QT5_CUSTOM_DIR}/lib"
|
||||||
|
|
||||||
|
elif test -z "$PKG_CONFIG" ; then
|
||||||
|
as_fn_error $? "specify QT5_CUSTOM_DIR or make sure pkg-config is available to search for Qt5 libraries" "$LINENO" 5
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
pkg_failed=no
|
pkg_failed=no
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT5" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT5" >&5
|
||||||
@@ -27062,12 +27088,12 @@ fi
|
|||||||
echo "$QT5_PKG_ERRORS" >&5
|
echo "$QT5_PKG_ERRORS" >&5
|
||||||
|
|
||||||
|
|
||||||
as_fn_error $? "Qt5 libraries are not available" "$LINENO" 5
|
as_fn_error $? "Qt5 libraries are not available" "$LINENO" 5
|
||||||
|
|
||||||
|
|
||||||
elif test $pkg_failed = untried; then
|
elif test $pkg_failed = untried; then
|
||||||
|
|
||||||
as_fn_error $? "Qt5 libraries are not available" "$LINENO" 5
|
as_fn_error $? "Qt5 libraries are not available" "$LINENO" 5
|
||||||
|
|
||||||
|
|
||||||
else
|
else
|
||||||
@@ -27076,9 +27102,6 @@ else
|
|||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
$as_echo "yes" >&6; }
|
||||||
|
|
||||||
TOOLKIT=QT
|
|
||||||
GUIDIST=QT_DIST
|
|
||||||
TOOLKIT_DIR="qt"
|
|
||||||
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} ${QT5_CFLAGS}"
|
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} ${QT5_CFLAGS}"
|
||||||
GUI_TK_LIBRARY="${GUI_TK_LIBRARY} ${QT5_LIBS}"
|
GUI_TK_LIBRARY="${GUI_TK_LIBRARY} ${QT5_LIBS}"
|
||||||
if `pkg-config --variable qt_config Qt5Core | grep "reduce_relocations" >/dev/null`; then
|
if `pkg-config --variable qt_config Qt5Core | grep "reduce_relocations" >/dev/null`; then
|
||||||
@@ -27087,6 +27110,7 @@ $as_echo "yes" >&6; }
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
|
TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
|
||||||
|
|
||||||
@@ -29855,7 +29879,7 @@ EOF
|
|||||||
HEADER_PAD_OPTION="-headerpad_max_install_names"
|
HEADER_PAD_OPTION="-headerpad_max_install_names"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-hpux* )
|
*-*-hpux* )
|
||||||
@@ -39632,7 +39656,7 @@ fi
|
|||||||
|
|
||||||
LDFLAGS_GUI=
|
LDFLAGS_GUI=
|
||||||
case ${BAKEFILE_HOST} in
|
case ${BAKEFILE_HOST} in
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
LDFLAGS_GUI="-mwindows"
|
LDFLAGS_GUI="-mwindows"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -40066,7 +40090,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
PIC_FLAG=""
|
PIC_FLAG=""
|
||||||
SHARED_LD_CC="\$(CC) -shared -o"
|
SHARED_LD_CC="\$(CC) -shared -o"
|
||||||
SHARED_LD_CXX="\$(CXX) -shared -o"
|
SHARED_LD_CXX="\$(CXX) -shared -o"
|
||||||
@@ -40311,7 +40335,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
case ${BAKEFILE_HOST} in
|
case ${BAKEFILE_HOST} in
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
|
||||||
set dummy ${ac_tool_prefix}windres; ac_word=$2
|
set dummy ${ac_tool_prefix}windres; ac_word=$2
|
||||||
|
37
configure.in
37
configure.in
@@ -262,7 +262,7 @@ case "${host}" in
|
|||||||
AC_DEFINE(__UNIXWARE__)
|
AC_DEFINE(__UNIXWARE__)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
dnl MBN: some of the defines have been moved after toolkit detection
|
dnl MBN: some of the defines have been moved after toolkit detection
|
||||||
dnl because for wxMotif/wxGTK/wxX11 to build on Cygwin
|
dnl because for wxMotif/wxGTK/wxX11 to build on Cygwin
|
||||||
dnl USE_UNIX must be set and not USE_WIN32
|
dnl USE_UNIX must be set and not USE_WIN32
|
||||||
@@ -3361,12 +3361,24 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
|
|||||||
|
|
||||||
|
|
||||||
if test "$wxUSE_QT" = 1; then
|
if test "$wxUSE_QT" = 1; then
|
||||||
PKG_CHECK_MODULES(QT5,
|
TOOLKIT=QT
|
||||||
|
GUIDIST=QT_DIST
|
||||||
|
TOOLKIT_DIR="qt"
|
||||||
|
|
||||||
|
if test -n "$QT5_CUSTOM_DIR" ; then
|
||||||
|
dnl the name of the directory where the files for this toolkit live
|
||||||
|
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} -I${QT5_CUSTOM_DIR}/include"
|
||||||
|
GUI_TK_LIBRARY="${GUI_TK_LIBRARY} -L${QT5_CUSTOM_DIR}/lib \
|
||||||
|
-lQt5Core -lQt5Widgets -lQt5Gui -lQt5OpenGL -lQt5Test \
|
||||||
|
-Wl,-rpath,${QT5_CUSTOM_DIR}/lib"
|
||||||
|
|
||||||
|
elif test -z "$PKG_CONFIG" ; then
|
||||||
|
AC_MSG_ERROR([specify QT5_CUSTOM_DIR or make sure pkg-config is available to search for Qt5 libraries])
|
||||||
|
|
||||||
|
else
|
||||||
|
PKG_CHECK_MODULES(QT5,
|
||||||
[Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test],
|
[Qt5Core Qt5Widgets Qt5Gui Qt5OpenGL Qt5Test],
|
||||||
[
|
[
|
||||||
TOOLKIT=QT
|
|
||||||
GUIDIST=QT_DIST
|
|
||||||
TOOLKIT_DIR="qt"
|
|
||||||
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} ${QT5_CFLAGS}"
|
TOOLKIT_INCLUDE="${TOOLKIT_INCLUDE} ${QT5_CFLAGS}"
|
||||||
GUI_TK_LIBRARY="${GUI_TK_LIBRARY} ${QT5_LIBS}"
|
GUI_TK_LIBRARY="${GUI_TK_LIBRARY} ${QT5_LIBS}"
|
||||||
if `pkg-config --variable qt_config Qt5Core | grep "reduce_relocations" >/dev/null`; then
|
if `pkg-config --variable qt_config Qt5Core | grep "reduce_relocations" >/dev/null`; then
|
||||||
@@ -3374,11 +3386,12 @@ libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
|
|||||||
SAMPLES_CXXFLAGS="-fPIC $SAMPLES_CXXFLAGS"
|
SAMPLES_CXXFLAGS="-fPIC $SAMPLES_CXXFLAGS"
|
||||||
WXCONFIG_CXXFLAGS="-fPIC $WXCONFIG_CXXFLAGS"
|
WXCONFIG_CXXFLAGS="-fPIC $WXCONFIG_CXXFLAGS"
|
||||||
fi
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_MSG_ERROR([Qt5 libraries are not available])
|
AC_MSG_ERROR([Qt5 libraries are not available])
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
dnl the name of the directory where the files for this toolkit live
|
dnl the name of the directory where the files for this toolkit live
|
||||||
TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[[A-Z]]' '[[a-z]]'`
|
TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[[A-Z]]' '[[a-z]]'`
|
||||||
@@ -3699,7 +3712,7 @@ EOF
|
|||||||
HEADER_PAD_OPTION="-headerpad_max_install_names"
|
HEADER_PAD_OPTION="-headerpad_max_install_names"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-cygwin* | *-*-mingw32* )
|
*-*-cygwin* | *-*-mingw32* | *-*-mingw64* )
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*-*-hpux* )
|
*-*-hpux* )
|
||||||
|
@@ -91,6 +91,21 @@ cd tests
|
|||||||
make
|
make
|
||||||
./test_gui
|
./test_gui
|
||||||
|
|
||||||
|
* Building wxQT, using qt-unified-XXX-online installer
|
||||||
|
------------------------------------------------------
|
||||||
|
|
||||||
|
Download qt-unified-XXX-online installer from the qt website.
|
||||||
|
Install the Qt package of your choice (with the same minimum version
|
||||||
|
restriction as above).
|
||||||
|
The same build instructions apply, except that you need to explicitly pass
|
||||||
|
to configure the Qt dir of the build intended to use as QT5_CUSTOM_DIR, i.e.
|
||||||
|
|
||||||
|
# for Linux:
|
||||||
|
../configure --with-qt --enable-debug QT5_CUSTOM_DIR=~/Qt/5.11.0/gcc_64
|
||||||
|
|
||||||
|
# for Windows (ran from Git Bash, or any other Unix-like shell):
|
||||||
|
../configure --with-qt --enable-debug QT5_CUSTOM_DIR=/c/Qt/5.11.0/mingw53_32
|
||||||
|
|
||||||
* Building wxGT on Android
|
* Building wxGT on Android
|
||||||
--------------------------
|
--------------------------
|
||||||
|
|
||||||
|
@@ -1721,6 +1721,11 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_ACTIVITYINDICATOR && !wxUSE_GRAPHICS_CONTEXT
|
||||||
|
# undef wxUSE_ACTIVITYINDICATOR
|
||||||
|
# define wxUSE_ACTIVITYINDICATOR 0
|
||||||
|
#endif /* wxUSE_ACTIVITYINDICATOR */
|
||||||
|
|
||||||
#if wxUSE_GRAPHICS_CONTEXT && !wxUSE_GEOMETRY
|
#if wxUSE_GRAPHICS_CONTEXT && !wxUSE_GEOMETRY
|
||||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||||
# error "wxUSE_GRAPHICS_CONTEXT requires wxUSE_GEOMETRY"
|
# error "wxUSE_GRAPHICS_CONTEXT requires wxUSE_GEOMETRY"
|
||||||
@@ -1737,7 +1742,7 @@
|
|||||||
# undef wxUSE_DC_TRANSFORM_MATRIX
|
# undef wxUSE_DC_TRANSFORM_MATRIX
|
||||||
# define wxUSE_DC_TRANSFORM_MATRIX 0
|
# define wxUSE_DC_TRANSFORM_MATRIX 0
|
||||||
# endif
|
# endif
|
||||||
#endif /* wxUSE_GRAPHICS_CONTEXT */
|
#endif /* wxUSE_DC_TRANSFORM_MATRIX */
|
||||||
|
|
||||||
/* generic controls dependencies */
|
/* generic controls dependencies */
|
||||||
#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
|
#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
|
||||||
|
@@ -108,7 +108,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_GUI && defined(__WXQT__)
|
#if wxUSE_GUI && defined(__WXQT__)
|
||||||
#include <QtGlobal> // for QT_VERSION_STR constants
|
#include <QtCore/QtGlobal> // for QT_VERSION_STR constants
|
||||||
#endif
|
#endif
|
||||||
#if wxUSE_BASE
|
#if wxUSE_BASE
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#include "wx/timer.h"
|
#include "wx/timer.h"
|
||||||
#include "wx/qt/private/timer.h"
|
#include "wx/qt/private/timer.h"
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtCore/QtGlobal>
|
||||||
|
|
||||||
wxEventLoopBase *wxGUIAppTraits::CreateEventLoop()
|
wxEventLoopBase *wxGUIAppTraits::CreateEventLoop()
|
||||||
{
|
{
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QClipboard>
|
#include <QtGui/QClipboard>
|
||||||
|
|
||||||
#include "wx/clipbrd.h"
|
#include "wx/clipbrd.h"
|
||||||
#include "wx/scopedarray.h"
|
#include "wx/scopedarray.h"
|
||||||
|
@@ -12,8 +12,8 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QBitmap>
|
#include <QtGui/QBitmap>
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/bitmap.h"
|
#include "wx/bitmap.h"
|
||||||
|
@@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
#include <QtWidgets/QDesktopWidget>
|
#include <QtWidgets/QDesktopWidget>
|
||||||
#include <QtGui/QScreen>
|
#include <QtGui/QScreen>
|
||||||
#include <QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QPixmap>
|
#include <QtGui/QPixmap>
|
||||||
|
|
||||||
wxIMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxWindowDCImpl);
|
wxIMPLEMENT_ABSTRACT_CLASS(wxScreenDCImpl, wxWindowDCImpl);
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QHeaderView>
|
#include <QtWidgets/QHeaderView>
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/bitmap.h"
|
#include "wx/bitmap.h"
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#if wxUSE_TOOLBAR
|
#if wxUSE_TOOLBAR
|
||||||
|
|
||||||
#include <QActionGroup>
|
#include <QtWidgets/QActionGroup>
|
||||||
#include <QtWidgets/QToolButton>
|
#include <QtWidgets/QToolButton>
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
|
@@ -16,8 +16,8 @@
|
|||||||
#include "wx/private/uiaction.h"
|
#include "wx/private/uiaction.h"
|
||||||
|
|
||||||
#include <QtTest/QtTestGui>
|
#include <QtTest/QtTestGui>
|
||||||
#include <QApplication>
|
#include <QtWidgets/QApplication>
|
||||||
#include <QWidget>
|
#include <QtWidgets/QWidget>
|
||||||
|
|
||||||
#include "wx/qt/defs.h"
|
#include "wx/qt/defs.h"
|
||||||
#include "wx/qt/private/utils.h"
|
#include "wx/qt/private/utils.h"
|
||||||
|
Reference in New Issue
Block a user