| 1234567891011121314151617181920212223242526272829303132 |
- #include "mainwindow.h"
- #include "thememanager.h"
- #include "themesettingswidget.h"
- #include <QApplication>
- int main(int argc, char* argv[])
- {
- // std::freopen(nullptr, "w", stdout);
- setvbuf(stdout, nullptr, _IONBF, 0);
- QApplication a(argc, argv);
- ThemeManager::instance().setThemeMode(ThemeManager::Light);
- /*
- docker run -itd --name zlmediakit --restart=always
- -p 1935:1935 -p 8080:80 -p 8443:443
- -p 8554:554 -p 10000:10000
- -p 10000:10000/udp -p 8000:8000/udp
- -p 9000:9000/udp
- -v /data/zlmediakit/media/bin:/opt/media/bin
- -v /data/zlmediakit/media/conf:/opt/media/conf
- zlmediakit/zlmediakit:master
- */
- MainWindow w;
- w.show();
- // ThemeSettingsWidget ThemeSettingsWidget;
- // ThemeSettingsWidget.show();
- return a.exec();
- }
|