* Initializes the resources specified by the .qrc file with the specified base * name. Normally, when resources are built as part of the application, the * resources are loaded automatically at startup. The Q_INIT_RESOURCE() macro * is necessary on some platforms for resources stored in a static library. * Because GCC causes a linker error if we put Q_INIT_RESOURCE into the * loadStyleSheet()
| 78 | * namespace |
| 79 | */ |
| 80 | static void initResource() |
| 81 | { |
| 82 | Q_INIT_RESOURCE(ads); |
| 83 | } |
| 84 | |
| 85 | |
| 86 | namespace ads |