Changeset 8772 in ntrip for trunk/BNC/src/bncmain.cpp


Ignore:
Timestamp:
Jun 5, 2019, 10:30:57 AM (5 years ago)
Author:
stuerze
Message:

option '- platform offscreen' is added to support the --nw option in Qt5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmain.cpp

    r8731 r8772  
    6060  cout << "Program Interrupted by Ctrl-C" << endl;
    6161  BNC_CORE->sigintReceived = 1;
    62   qApp->quit();
     62  BNC_CORE->stopCombination();
     63  BNC_CORE->stopPPP();
     64  ::exit(0);
    6365}
    6466
     
    320322    }
    321323    if (QRegExp("--?nw").exactMatch(argv[ii])) {
     324      strcpy(argv[ii], "--nw -platform offscreen");
    322325      interactive = false;
    323326    }
Note: See TracChangeset for help on using the changeset viewer.