diff --git a/third/qcustomplotdemo/qcustomplotdemo.pro b/third/qcustomplotdemo/qcustomplotdemo.pro index a4afc73..ebec323 100644 --- a/third/qcustomplotdemo/qcustomplotdemo.pro +++ b/third/qcustomplotdemo/qcustomplotdemo.pro @@ -7,8 +7,11 @@ TEMPLATE = app DESTDIR = $$PWD/../bin CONFIG += warn_off -RESOURCES += main.qrc SOURCES += main.cpp +RESOURCES += qrc/main.qrc +wasm { +RESOURCES += qrc/font.qrc +} INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD/frmcustom diff --git a/third/qcustomplotdemo/data/data0.txt b/third/qcustomplotdemo/qrc/data/data0.txt similarity index 100% rename from third/qcustomplotdemo/data/data0.txt rename to third/qcustomplotdemo/qrc/data/data0.txt diff --git a/third/qcustomplotdemo/data/data1.txt b/third/qcustomplotdemo/qrc/data/data1.txt similarity index 100% rename from third/qcustomplotdemo/data/data1.txt rename to third/qcustomplotdemo/qrc/data/data1.txt diff --git a/third/qcustomplotdemo/data/data2.txt b/third/qcustomplotdemo/qrc/data/data2.txt similarity index 100% rename from third/qcustomplotdemo/data/data2.txt rename to third/qcustomplotdemo/qrc/data/data2.txt diff --git a/third/qcustomplotdemo/qrc/font.qrc b/third/qcustomplotdemo/qrc/font.qrc new file mode 100644 index 0000000..1d77f67 --- /dev/null +++ b/third/qcustomplotdemo/qrc/font.qrc @@ -0,0 +1,5 @@ + + + font/DroidSansFallback.ttf + + diff --git a/third/qcustomplotdemo/qrc/font/DroidSansFallback.ttf b/third/qcustomplotdemo/qrc/font/DroidSansFallback.ttf new file mode 100644 index 0000000..8c6fabe Binary files /dev/null and b/third/qcustomplotdemo/qrc/font/DroidSansFallback.ttf differ diff --git a/third/qcustomplotdemo/font/fontawesome-webfont.ttf b/third/qcustomplotdemo/qrc/font/fontawesome-webfont.ttf similarity index 100% rename from third/qcustomplotdemo/font/fontawesome-webfont.ttf rename to third/qcustomplotdemo/qrc/font/fontawesome-webfont.ttf diff --git a/third/qcustomplotdemo/font/iconfont.ttf b/third/qcustomplotdemo/qrc/font/iconfont.ttf similarity index 100% rename from third/qcustomplotdemo/font/iconfont.ttf rename to third/qcustomplotdemo/qrc/font/iconfont.ttf diff --git a/third/qcustomplotdemo/font/pe-icon-set-weather.ttf b/third/qcustomplotdemo/qrc/font/pe-icon-set-weather.ttf similarity index 100% rename from third/qcustomplotdemo/font/pe-icon-set-weather.ttf rename to third/qcustomplotdemo/qrc/font/pe-icon-set-weather.ttf diff --git a/third/qcustomplotdemo/image/bg1.jpg b/third/qcustomplotdemo/qrc/image/bg1.jpg similarity index 100% rename from third/qcustomplotdemo/image/bg1.jpg rename to third/qcustomplotdemo/qrc/image/bg1.jpg diff --git a/third/qcustomplotdemo/image/bg2.jpg b/third/qcustomplotdemo/qrc/image/bg2.jpg similarity index 100% rename from third/qcustomplotdemo/image/bg2.jpg rename to third/qcustomplotdemo/qrc/image/bg2.jpg diff --git a/third/qcustomplotdemo/image/data.png b/third/qcustomplotdemo/qrc/image/data.png similarity index 100% rename from third/qcustomplotdemo/image/data.png rename to third/qcustomplotdemo/qrc/image/data.png diff --git a/third/qcustomplotdemo/main.qrc b/third/qcustomplotdemo/qrc/main.qrc similarity index 100% rename from third/qcustomplotdemo/main.qrc rename to third/qcustomplotdemo/qrc/main.qrc