Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix msvc build (followup effbfc2)
  • Loading branch information
jef-n committed May 4, 2023
1 parent 61fe177 commit cb1bfa1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/gui/settings/qgssettingseditorwidgetwrapperimpl.h
Expand Up @@ -264,5 +264,16 @@ class GUI_EXPORT QgsSettingsColorEditorWidgetWrapper : public QgsSettingsEditorW
// QStringList valueFromWidget() const override;
//};

#if defined(_MSC_VER)
#ifndef SIP_RUN
template class GUI_EXPORT QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryBool, QCheckBox, bool>;
template class GUI_EXPORT QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryColor, QgsColorButton, QColor>;
template class GUI_EXPORT QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryDouble, QDoubleSpinBox, double>;
template class GUI_EXPORT QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryInteger, QSpinBox, int>;
template class GUI_EXPORT QgsSettingsEditorWidgetWrapperTemplate<QgsSettingsEntryString, QLineEdit, QString>;
#endif
#endif



#endif // QGSSETTINGSEDITORWIDGETWRAPPERIMPL_H

0 comments on commit cb1bfa1

Please sign in to comment.