demos/spectrum/app/app.pro
changeset 30 5dc02b23752f
parent 29 b72c6db6890b
child 33 3e2da88830cd
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    43 
    43 
    44 RESOURCES = spectrum.qrc
    44 RESOURCES = spectrum.qrc
    45 
    45 
    46 symbian {
    46 symbian {
    47     # Platform security capability required to record audio on Symbian
    47     # Platform security capability required to record audio on Symbian
    48     TARGET.CAPABILITY = UserEnvironment
    48     TARGET.CAPABILITY += UserEnvironment
    49 
    49 
    50     # Provide unique ID for the generated binary, required by Symbian OS
    50     # Provide unique ID for the generated binary, required by Symbian OS
    51     TARGET.UID3 = 0xA000E3FA
    51     TARGET.UID3 = 0xA000E3FA
    52 }
    52 }
    53 
    53 
    68             LIBS += -lfftreal
    68             LIBS += -lfftreal
    69         }
    69         }
    70     }
    70     }
    71 }
    71 }
    72 
    72 
    73 # Install
       
    74 
       
    75 sources.files = $$SOURCES $$HEADERS $$RESOURCES app.pro
       
    76 sources.path = $$[QT_INSTALL_DEMOS]/spectrum/app
       
    77 images.files += images/record.png images/settings.png
       
    78 images.path = $$[QT_INSTALL_DEMOS]/spectrum/app/images
       
    79 INSTALLS += sources images
       
    80 
    73 
    81 # Deployment
    74 # Deployment
    82 
    75 
    83 symbian {
    76 symbian {
    84     include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
    77     include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
   116             # On unices other than Mac OSX, we copy a shell script into the bin directory.
   109             # On unices other than Mac OSX, we copy a shell script into the bin directory.
   117             # This script takes care of correctly setting the LD_LIBRARY_PATH so that
   110             # This script takes care of correctly setting the LD_LIBRARY_PATH so that
   118             # the dynamic library can be located.
   111             # the dynamic library can be located.
   119             copy_launch_script.target = copy_launch_script
   112             copy_launch_script.target = copy_launch_script
   120             copy_launch_script.commands = \
   113             copy_launch_script.commands = \
   121                 install -m 0555 $$QT_SOURCE_TREE/demos/spectrum/app/spectrum.sh ../bin/spectrum
   114                 install -m 0555 $$PWD/spectrum.sh ../bin/spectrum
   122             QMAKE_EXTRA_TARGETS += copy_launch_script
   115             QMAKE_EXTRA_TARGETS += copy_launch_script
   123             POST_TARGETDEPS += copy_launch_script
   116             POST_TARGETDEPS += copy_launch_script
   124         }
   117         }
   125     }
   118     }
   126 }
   119 }