Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 558

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Qt Mobility 1.2: publish-subscribe.pro Example File (publish-subscribe/publish-subscribe.pro)</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
    </ul>
  </div>
</div>
<div class="content mainContent">
<h1 class="title">publish-subscribe.pro Example File</h1>
<span class="small-subtitle">publish-subscribe/publish-subscribe.pro</span>
<!-- $$$publish-subscribe/publish-subscribe.pro-description -->
<div class="descr"> <a name="details"></a>
<pre class="cpp"> TEMPLATE = app
 TARGET = publish-subscribe

 INCLUDEPATH += ../../src/publishsubscribe
 DEPENDPATH += ../../src/publishsubscribe

 symbian {
     crmlFiles.sources = example.qcrml
     crmlFiles.path = /resource/qt/crml
     DEPLOYMENT += crmlFiles

     TARGET.UID3 = 0xE0000020
 }

 include(../mobility_examples.pri)

 HEADERS = publisherdialog.h \
           subscriberdialog.h

 SOURCES = main.cpp \
           publisherdialog.cpp \
           subscriberdialog.cpp

 maemo5|maemo6 {
     FORMS = publisherdialog_hor.ui \
             subscriberdialog_hor.ui
 } else {
     FORMS = publisherdialog.ui \
             subscriberdialog.ui
 }

 CONFIG += mobility
 MOBILITY = publishsubscribe

 contains(MEEGO_EDITION,harmattan) {

     MEEGO_VERSION_MAJOR     = 1
     MEEGO_VERSION_MINOR     = 2
     MEEGO_VERSION_PATCH     = 0
     MEEGO_EDITION           = harmattan
     DEFINES += MEEGO_EDITION_HARMATTAN

     target.path = /opt/publish-subscribe/bin
     INSTALLS += target

     contextreg.files = com.qt.nokia.context
     contextreg.path = /usr/share/contextkit/providers
     INSTALLS += contextreg

 }

 OTHER_FILES += \
     com.qt.nokia.context</pre>
</div>
<!-- @@@publish-subscribe/publish-subscribe.pro -->
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>