Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1635

Compile error in connectivity/bluetooth

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 1.2.0
    • None
    • a46c9fb90c180828ce0bc541d459ecc259e07657

    Description

      bluetooth.pri uses the following hack:

      INCLUDEPATH += $${QMAKE_INCDIR_QT}/QtNetwork

      This assumption doesn't always hold (e.b. MXCL builds of Qt on Mac OS X). I suggest to remove that line from the *.pri and use the standard Qt include path policy:

      #include <QtNetwork/QAbstractSocket>

      instead of

      #include <QAbstractSocket>

      That should work on all systems without qmake magic.

      Attachments

        Activity

          People

            stanleyj Andrew Stanley-Jones (closed Nokia identity) (Inactive)
            fernenge Harald Fernengel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: