Changes to makefile.

This commit is contained in:
Martin Rotter 2014-01-02 21:50:37 +01:00
parent fef8769cd0
commit af254235f8
2 changed files with 10 additions and 0 deletions

View File

@ -69,6 +69,15 @@ set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/resources/cmake ${CMAKE_MODULE_PATH}) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/resources/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Eliminate a warning when building in Windows that relates
# to static linking of Qt executables to qtmain.lib.
# This policy was introduced in CMake version 2.8.11.
# CMake version 2.8.11.2 warns when the policy is not set
# and uses OLD behavior.
if(POLICY CMP0020)
cmake_policy(SET CMP0020 NEW)
endif()
# Select which Qt version to use. # Select which Qt version to use.
if(${USE_QT_5}) if(${USE_QT_5})
message(STATUS "[${APP_LOW_NAME}] Using Qt 5 library for building.") message(STATUS "[${APP_LOW_NAME}] Using Qt 5 library for building.")

View File

@ -245,4 +245,5 @@ void FeedsView::drawBranches(QPainter *painter, const QRect &rect, const QModelI
// NOTE: Don't draw branches at all. // NOTE: Don't draw branches at all.
// TODO: tady mozna nakreslit proste ten rect s tim painterem // TODO: tady mozna nakreslit proste ten rect s tim painterem
// aby tam aspon neco bylo (blbne pak skrz stylesheety) // aby tam aspon neco bylo (blbne pak skrz stylesheety)
// nebo ocekovat fora na netu a delegates
} }