fix runtime problems

This commit is contained in:
Jesse Qu 2026-01-05 15:25:01 +08:00
parent a416b64ebd
commit 2891037da6
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#include <QtCore/qglobal.h> #include <QtCore/qglobal.h>
#ifdef _WIN32 #ifdef _WIN32
# ifdef QDETAILS_VIEW_STATIC_LIBRARY # ifdef PROPERTY_EDITOR_STATIC_LIBRARY
# define QDETAILS_VIEW_API # define QDETAILS_VIEW_API
# else # else
# ifdef QDETAILS_VIEW_SHARED_LIBRARY # ifdef QDETAILS_VIEW_SHARED_LIBRARY

View File

@ -20,7 +20,7 @@ void QQuickDetailsViewManager::initialize()
{ {
mInitialized = true; mInitialized = true;
#ifdef QDETAILS_VIEW_STATIC_LIBRARY #ifdef PROPERTY_EDITOR_STATIC_LIBRARY
Q_INIT_RESOURCE(resources); Q_INIT_RESOURCE(resources);
#endif #endif