Fix compilation without pjsip.
This commit is contained in:
parent
18bfa12042
commit
55021ef67d
|
@ -130,8 +130,10 @@ void GLog(const gchar* domain,
|
||||||
qDebug() << "GLOG" << message;
|
qDebug() << "GLOG" << message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_REMOTE
|
||||||
#include <xrme/connection.h>
|
#include <xrme/connection.h>
|
||||||
#include "remote/icesession.h"
|
#include "remote/icesession.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
if (CrashReporting::SendCrashReport(argc, argv)) {
|
if (CrashReporting::SendCrashReport(argc, argv)) {
|
||||||
|
@ -216,7 +218,9 @@ int main(int argc, char *argv[]) {
|
||||||
qRegisterMetaType<GstElement*>("GstElement*");
|
qRegisterMetaType<GstElement*>("GstElement*");
|
||||||
qRegisterMetaType<GstEnginePipeline*>("GstEnginePipeline*");
|
qRegisterMetaType<GstEnginePipeline*>("GstEnginePipeline*");
|
||||||
|
|
||||||
|
#ifdef HAVE_REMOTE
|
||||||
qRegisterMetaType<xrme::SIPInfo>("SIPInfo");
|
qRegisterMetaType<xrme::SIPInfo>("SIPInfo");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_LIBLASTFM
|
#ifdef HAVE_LIBLASTFM
|
||||||
lastfm::ws::ApiKey = LastFMService::kApiKey;
|
lastfm::ws::ApiKey = LastFMService::kApiKey;
|
||||||
|
@ -253,6 +257,7 @@ int main(int argc, char *argv[]) {
|
||||||
UniversalEncodingHandler handler;
|
UniversalEncodingHandler handler;
|
||||||
TagLib::ID3v1::Tag::setStringHandler(&handler);
|
TagLib::ID3v1::Tag::setStringHandler(&handler);
|
||||||
|
|
||||||
|
#ifdef HAVE_REMOTE
|
||||||
if (options.stun_test() != CommandlineOptions::StunTestNone) {
|
if (options.stun_test() != CommandlineOptions::StunTestNone) {
|
||||||
QCoreApplication app(argc, argv);
|
QCoreApplication app(argc, argv);
|
||||||
|
|
||||||
|
@ -312,6 +317,7 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
QtSingleApplication a(argc, argv);
|
QtSingleApplication a(argc, argv);
|
||||||
#ifdef Q_OS_DARWIN
|
#ifdef Q_OS_DARWIN
|
||||||
|
|
Loading…
Reference in New Issue