1 Star 4 Fork 2

Lingmo OS/LingmoDesktop

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.cpp 472 Bytes
一键复制 编辑 原始数据 按行查看 历史
Floating dream 提交于 2023-05-28 15:08 +08:00 . Update new name
//2023-04-25-01:07
#include "desktop.h"
#include "desktop/desktopsettings.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
// Register QML Type.
const char *uri = "Lingmo.Desktop";
qmlRegisterType<DesktopSettings>(uri, 1, 0, "DesktopSettings");
Desktop desktop(argc,argv);
return desktop.run();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/LingmoOS/ling-desktop.git
[email protected]:LingmoOS/ling-desktop.git
LingmoOS
ling-desktop
LingmoDesktop
main

搜索帮助