Skip to content
Snippets Groups Projects
Commit c4c3b95c authored by Julien Malik's avatar Julien Malik
Browse files

ENH: integrate application icon on linux

parent b631b527
No related branches found
No related tags found
No related merge requests found
......@@ -100,12 +100,17 @@ set(Monteverdi2_INCLUDE_DIRS
# ${Monteverdi2_SOURCE_DIR}/Code/
${Monteverdi2_SOURCE_DIR}/Code/Common
${Monteverdi2_SOURCE_DIR}/Code/Application
#
${Monteverdi2_SOURCE_DIR}/Data/Icons
# For moc files
${Monteverdi2_BINARY_DIR}/Code/Common
${Monteverdi2_BINARY_DIR}/Code/Application
# For ConfigureMonteverdi2.h
${Monteverdi2_BINARY_DIR}
)
include_directories(${Monteverdi2_INCLUDE_DIRS} ${CMAKE_CURRENT_BINARY_DIR})
include_directories(${Monteverdi2_INCLUDE_DIRS})
#----------------------------------------------------------------------------
# Installation directories:
......
......@@ -43,7 +43,7 @@ int
main( int argc, char* argv[] )
{
mvd::Application application( argc, argv );
//
// Force numeric options of locale to "C"
// See issue #635
......
......@@ -36,6 +36,7 @@
// Monteverdi includes (sorted by alphabetic order)
#include "mvdAbstractModel.h"
#include "mvdDatasetModel.h"
#include "monteverdi2.xpm"
//
// Class implementation.
......@@ -164,6 +165,9 @@ Application
"orfeo-toolbox.org"
);
#if ! defined(Q_WS_WIN) && ! defined(Q_WS_MAC)
setWindowIcon( QPixmap( monteverdi2_xpm ) );
#endif
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment