Build system changes:
- Use QStringBuilder - Switch on C+11 support - Add the new UI file
This commit is contained in:
parent
0fa8fe223f
commit
244b930185
2 changed files with 5 additions and 3 deletions
|
@ -10,7 +10,8 @@ find_package(QJSON REQUIRED)
|
|||
include_directories( ${KDE4_INCLUDES} ${QT_INCLUDES} )
|
||||
|
||||
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
||||
add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
|
||||
add_definitions(-DQT_USE_QSTRINGBUILDER)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
|
||||
|
||||
|
||||
#add_subdirectory( doc )
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
set(danbooru_client_SRCS ui/danbooruconnectwidget.ui danbooruconnectwidget.cpp
|
||||
set(danbooru_client_SRCS danbooruconnectwidget.cpp
|
||||
model/danboorupostdelegate.cpp
|
||||
model/danboorupostmodel.cpp
|
||||
danbooruclientview.cpp
|
||||
|
@ -23,7 +23,8 @@ include_directories(
|
|||
|
||||
kde4_add_ui_files(danbooru_client_SRCS
|
||||
testwidget.ui
|
||||
ui/danbooruclientview.ui)
|
||||
ui/danbooruclientview.ui
|
||||
ui/danbooruconnectwidget.ui)
|
||||
|
||||
kde4_add_executable(danbooru_client
|
||||
${danbooru_client_SRCS}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue