diff --git a/src/examples/example_temp_monitor/tempmonitor.cpp b/src/examples/example_temp_monitor/tempmonitor.cpp index 54edf2f..7d7bb51 100644 --- a/src/examples/example_temp_monitor/tempmonitor.cpp +++ b/src/examples/example_temp_monitor/tempmonitor.cpp @@ -11,7 +11,7 @@ typedef union { float value; - u_int8_t bytes[4]; + uint8_t bytes[4]; } float_sensor_result; TempMonitor::TempMonitor(const QString & serialPort, QObject *parent) : diff --git a/src/qtxb/qtxb.pri b/src/qtxb/qtxb.pri index 26b18b1..ecc22a8 100644 --- a/src/qtxb/qtxb.pri +++ b/src/qtxb/qtxb.pri @@ -1,5 +1,5 @@ -win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD//../../../usr/lib/QtXBee -lQtXBee -else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD//../../../usr/lib/QtXBee -lQtXBee +win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD//../../../usr/lib/QtXBee -lQtXBee0 +else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD//../../../usr/lib/QtXBee -lQtXBee0 else:unix: LIBS += -L$$OUT_PWD/../../../usr/lib/QtXBee -lQtXBee INCLUDEPATH += $$PWD/