radioapp/radioapplication/radioapplication.pro
changeset 13 46974bebc798
child 14 63aabac4416d
equal deleted inserted replaced
0:f3d95d9c00ab 13:46974bebc798
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 
       
    17 include(../buildflags.pri)
       
    18 
       
    19 TEMPLATE        = app
       
    20 TARGET          = qtfmradio
       
    21 TRANSLATIONS    += fmradio.ts 
       
    22 win32:DESTDIR   = ../bin
       
    23 
       
    24 symbian: {
       
    25     DEFINES += SYMBIAN
       
    26     TARGET.CAPABILITY = CAP_APPLICATION MultimediaDD
       
    27     TARGET.VID = VID_DEFAULT
       
    28     TARGET.UID3 = 0x101FF976 # Old visual radio uid
       
    29     TARGET.EPOCSTACKSIZE = 0x14000
       
    30     TARGET.EPOCHEAPSIZE = 0x020000 0x2400000
       
    31 }
       
    32 
       
    33 QT          = core
       
    34 CONFIG      += hb
       
    35 CONFIG      -= gui network svg
       
    36 
       
    37 INCLUDEPATH += . inc
       
    38 INCLUDEPATH += ../radioenginewrapper/commoninc
       
    39 INCLUDEPATH += ../radiouiengine/inc
       
    40 INCLUDEPATH += ../radiowidgets/inc
       
    41 
       
    42 win32:INCLUDEPATH += ../radioenginewrapper/inc
       
    43 win32:LIBS += -L../bin
       
    44 
       
    45 LIBS += -lradiouiengine
       
    46 LIBS += -lradiowidgets
       
    47 
       
    48 # UI does not normally depend on the wrapper, but it does on two special cases
       
    49 # 1. Logging is enabled. The logger is in the wrapper module
       
    50 # 2. Radio is built for win32 target. The test window needs to access wrapper
       
    51 LOGGING_ENABLED:LIBS += -lradioenginewrapper
       
    52 win32:LIBS += -lradioenginewrapper
       
    53 
       
    54 DEPENDPATH  += $$INCLUDEPATH src
       
    55 
       
    56 # Sources
       
    57 HEADERS += radioapplication.h
       
    58 
       
    59 win32:HEADERS += testwindow_win32.h
       
    60 
       
    61 SOURCES += main.cpp
       
    62 SOURCES += radioapplication.cpp
       
    63 
       
    64 win32:SOURCES += testwindow_win32.cpp