some more merge fixes
This commit is contained in:
parent
a2a489e6f0
commit
30d8181423
4 changed files with 13 additions and 13 deletions
12
Jamulus.pro
12
Jamulus.pro
|
@ -13,10 +13,10 @@ CONFIG += qt \
|
|||
QT += network \
|
||||
xml
|
||||
|
||||
!contains(CONFIG, "headless") {
|
||||
QT += widgets
|
||||
} else {
|
||||
contains(CONFIG, "headless") {
|
||||
QT -= gui
|
||||
} else {
|
||||
QT += widgets
|
||||
}
|
||||
|
||||
TRANSLATIONS = src/res/translation/translation_de_DE.ts \
|
||||
|
@ -992,12 +992,12 @@ DISTFILES_OPUS += libs/opus/AUTHORS \
|
|||
libs/opus/celt/arm/armopts.s.in \
|
||||
libs/opus/celt/arm/celt_pitch_xcorr_arm.s \
|
||||
|
||||
!contains(CONFIG, "headless") {
|
||||
contains(CONFIG, "headless") {
|
||||
DEFINES += HEADLESS
|
||||
} else {
|
||||
HEADERS += $$HEADERS_GUI
|
||||
SOURCES += $$SOURCES_GUI
|
||||
FORMS += $$FORMS_GUI
|
||||
} else {
|
||||
DEFINES += HEADLESS
|
||||
}
|
||||
|
||||
# use external OPUS library if requested
|
||||
|
|
|
@ -503,7 +503,7 @@ int main ( int argc, char** argv )
|
|||
}
|
||||
|
||||
#ifdef HEADLESS
|
||||
if (bUseGUI)
|
||||
if ( bUseGUI )
|
||||
{
|
||||
bUseGUI = false;
|
||||
tsConsole << "No GUI support compiled. Running in headless mode." << endl;
|
||||
|
@ -662,6 +662,7 @@ int main ( int argc, char** argv )
|
|||
bDisconnectAllClientsOnQuit,
|
||||
bUseDoubleSystemFrameSize,
|
||||
eLicenceType );
|
||||
|
||||
#ifndef HEADLESS
|
||||
if ( bUseGUI )
|
||||
{
|
||||
|
|
|
@ -22,10 +22,6 @@
|
|||
*
|
||||
\******************************************************************************/
|
||||
|
||||
#ifndef HEADLESS
|
||||
# include <QMessageBox>
|
||||
#endif
|
||||
|
||||
#include "soundbase.h"
|
||||
|
||||
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
|
||||
#include <QThread>
|
||||
#include <QString>
|
||||
#ifndef HEADLESS
|
||||
# include <QMessageBox>
|
||||
#endif
|
||||
#include "global.h"
|
||||
#include "util.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue