Fixed issues with libGroupView on Windows.
This commit is contained in:
parent
8864c7ebdc
commit
fd1e3bb814
@ -4,7 +4,7 @@ set(CMAKE_AUTOMOC ON)
|
|||||||
|
|
||||||
# Find Qt
|
# Find Qt
|
||||||
find_package(Qt5Core REQUIRED)
|
find_package(Qt5Core REQUIRED)
|
||||||
find_package(Qt5Gui REQUIRED)
|
find_package(Qt5Widgets REQUIRED)
|
||||||
|
|
||||||
# Include Qt headers.
|
# Include Qt headers.
|
||||||
include_directories(${Qt5Base_INCLUDE_DIRS})
|
include_directories(${Qt5Base_INCLUDE_DIRS})
|
||||||
@ -38,4 +38,4 @@ include_directories(${CMAKE_BINARY_DIR}/include)
|
|||||||
add_definitions(-DLIBGROUPVIEW_LIBRARY)
|
add_definitions(-DLIBGROUPVIEW_LIBRARY)
|
||||||
|
|
||||||
add_library(libGroupView SHARED ${LIBGROUPVIEW_SOURCES} ${LIBGROUPVIEW_HEADERS})
|
add_library(libGroupView SHARED ${LIBGROUPVIEW_SOURCES} ${LIBGROUPVIEW_HEADERS})
|
||||||
qt5_use_modules(libGroupView Core Gui)
|
qt5_use_modules(libGroupView Core Widgets)
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
|
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
|
|
||||||
#include <kdeui_export.h>
|
//#include <kdeui_export.h>
|
||||||
|
#include <libgroupview_config.h>
|
||||||
|
|
||||||
class QItemSelection;
|
class QItemSelection;
|
||||||
|
|
||||||
@ -42,7 +43,7 @@ class QItemSelection;
|
|||||||
*
|
*
|
||||||
* @author Rafael Fernández López <ereslibre@kde.org>
|
* @author Rafael Fernández López <ereslibre@kde.org>
|
||||||
*/
|
*/
|
||||||
class KDEUI_EXPORT KCategorizedSortFilterProxyModel
|
class LIBGROUPVIEW_EXPORT KCategorizedSortFilterProxyModel
|
||||||
: public QSortFilterProxyModel
|
: public QSortFilterProxyModel
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
|
|
||||||
#include <QListView>
|
#include <QListView>
|
||||||
|
|
||||||
#include <kdeui_export.h>
|
//#include <kdeui_export.h>
|
||||||
|
#include <libgroupview_config.h>
|
||||||
|
|
||||||
class KCategoryDrawer;
|
class KCategoryDrawer;
|
||||||
|
|
||||||
@ -75,7 +76,7 @@ class KCategoryDrawer;
|
|||||||
*
|
*
|
||||||
* @author Rafael Fernández López <ereslibre@kde.org>
|
* @author Rafael Fernández López <ereslibre@kde.org>
|
||||||
*/
|
*/
|
||||||
class KDEUI_EXPORT KCategorizedView
|
class LIBGROUPVIEW_EXPORT KCategorizedView
|
||||||
: public QListView
|
: public QListView
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
#include "kcategorizedview_p.h"
|
#include "kcategorizedview_p.h"
|
||||||
|
|
||||||
#include <math.h> // trunc on C99 compliant systems
|
#include <math.h> // trunc on C99 compliant systems
|
||||||
#include <kdefakes.h> // trunc for not C99 compliant systems
|
//#include <kdefakes.h> // trunc for not C99 compliant systems
|
||||||
|
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QScrollBar>
|
#include <QScrollBar>
|
||||||
|
Loading…
Reference in New Issue
Block a user