main.cpp 765 B

1234567891011121314151617181920212223242526272829303132
  1. #include "mainwindow.h"
  2. #include "thememanager.h"
  3. #include "themesettingswidget.h"
  4. #include <QApplication>
  5. int main(int argc, char* argv[])
  6. {
  7. // std::freopen(nullptr, "w", stdout);
  8. setvbuf(stdout, nullptr, _IONBF, 0);
  9. QApplication a(argc, argv);
  10. ThemeManager::instance().setThemeMode(ThemeManager::Light);
  11. /*
  12. docker run -itd --name zlmediakit --restart=always
  13. -p 1935:1935 -p 8080:80 -p 8443:443
  14. -p 8554:554 -p 10000:10000
  15. -p 10000:10000/udp -p 8000:8000/udp
  16. -p 9000:9000/udp
  17. -v /data/zlmediakit/media/bin:/opt/media/bin
  18. -v /data/zlmediakit/media/conf:/opt/media/conf
  19. zlmediakit/zlmediakit:master
  20. */
  21. MainWindow w;
  22. w.show();
  23. // ThemeSettingsWidget ThemeSettingsWidget;
  24. // ThemeSettingsWidget.show();
  25. return a.exec();
  26. }