Changeset 331 in pacpusframework for trunk/src/PacpusSensor


Ignore:
Timestamp:
Dec 4, 2014, 12:33:07 PM (10 years ago)
Author:
phudelai
Message:

Icon added to all graphic applications

Location:
trunk/src/PacpusSensor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PacpusSensor/CMakeLists.txt

    r151 r331  
    1313# ========================================
    1414add_definitions(
    15   ${QT_DEFINITIONS}
     15        ${QT_DEFINITIONS}
    1616)
    1717
     
    2020# ========================================
    2121include_directories(
    22   ${PROJECT_BINARY_DIR}
    23   ${QT_INCLUDE_DIR}
     22        ${PROJECT_BINARY_DIR}
     23        ${QT_INCLUDE_DIR}
    2424)
    2525# ========================================
     
    2727# ========================================
    2828link_directories(
    29     ${PROJECT_BINARY_DIR}/../PacpusLib
    30     ${PROJECT_BINARY_DIR}/../FileLib
     29        ${PROJECT_BINARY_DIR}/../PacpusLib
     30        ${PROJECT_BINARY_DIR}/../FileLib
    3131        ${PROJECT_BINARY_DIR}/../RoadTime
    3232)
     
    3636# ========================================
    3737set(
    38   PROJECT_SRCS
    39   src/ui/pacpusmainwindow.cpp
    40   src/ui/pacpusmainwindow.h
    41   src/main.cpp
     38        PROJECT_SRCS
     39        src/ui/pacpusmainwindow.cpp
     40        src/ui/pacpusmainwindow.h
     41        src/main.cpp
    4242)
    4343
     
    5151qt_wrap_cpp(SENSOR_MOC_SOURCES ${SENSOR_MOC_CLASSES})
    5252
    53 source_group(Main_ui FILES ${PROJECT_SRCS} )
    54 source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H} )
     53source_group(Main_ui FILES ${PROJECT_SRCS})
     54source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H})
    5555
    5656# ========================================
     
    5858# ========================================
    5959pacpus_add_executable(
    60     ${PROJECT_NAME}
    61     ./src/main.cpp
    62     ./src/ui/pacpusmainwindow.cpp
    63     ./src/ui/pacpusmainwindow.h
    64     ${SENSOR_MOC_SOURCES}
    65     ${SENSOR_UI_CLASSES}
     60        ${PROJECT_NAME}
     61        ./src/main.cpp
     62        ./src/ui/pacpusmainwindow.cpp
     63        ./src/ui/pacpusmainwindow.h
     64        ../ico/heudiasycIco.rc
     65        ${SENSOR_MOC_SOURCES}
     66        ${SENSOR_UI_CLASSES}
    6667)
    6768
     
    7172
    7273set(OPT_LIBRARIES
    73         optimized FileLib debug FileLib_d
    74         optimized PacpusLib debug PacpusLib_d
     74        optimized FileLib debug FileLib_d
     75        optimized PacpusLib debug PacpusLib_d
    7576)
    7677
    7778# Windows platform
    7879if(WIN32)
    79     LIST(APPEND OPT_LIBRARIES
    80         optimized ROAD_TIME debug ROAD_TIME_d
    81         Winmm
     80        LIST(APPEND OPT_LIBRARIES
     81                optimized ROAD_TIME debug ROAD_TIME_d
     82                Winmm
    8283)
    8384endif()
    8485
    8586if(UNIX)
    86     LIST(APPEND OPT_LIBRARIES
    87         pthread
    88     )
     87        LIST(APPEND OPT_LIBRARIES
     88                pthread
     89)
    8990endif()
    9091
    9192# All the platform
    9293target_link_libraries(
    93     ${PROJECT_NAME}
    94     ${PACPUS_DEPENDENCIES_LIB}
    95     ${OPT_LIBRARIES}
    96     ${QT_LIBRARIES}
     94        ${PROJECT_NAME}
     95        ${PACPUS_DEPENDENCIES_LIB}
     96        ${OPT_LIBRARIES}
     97        ${QT_LIBRARIES}
    9798)
    9899
  • trunk/src/PacpusSensor/src/ui/pacpusmainwindow.h

    r288 r331  
    3636public:
    3737    /// @todo Documentation
    38     ComponentCheckBox(QString const& text, QWidget * parent, const char * /*name*/ = 0 )
     38    ComponentCheckBox(const QString & text, QWidget * parent, const char * /*name*/ = 0 )
    3939        : QCheckBox(text, parent)
    4040    {
Note: See TracChangeset for help on using the changeset viewer.