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>
#ifdef _WIN32
# ifdef QDETAILS_VIEW_STATIC_LIBRARY
# ifdef PROPERTY_EDITOR_STATIC_LIBRARY
# define QDETAILS_VIEW_API
# else
# ifdef QDETAILS_VIEW_SHARED_LIBRARY
@ -18,4 +18,4 @@
#endif
#endif // QDETAILS_VIEW_API_H
#endif // QDETAILS_VIEW_API_H

View File

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