Skip to content

Commit

Permalink
activate svg workaround for MXE build (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Feb 10, 2021
1 parent 1c871dc commit 18b2578
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/symbolpanel/symbollistmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void SymbolListModel::removeFavorite(const QString &id)
*/
QIcon SymbolListModel::getIcon(const SymbolItem &item) const
{
#if defined( Q_OS_MAC ) && (QT_VERSION < QT_VERSION_CHECK(5,14,0))
#if (defined( Q_OS_MAC ) && (QT_VERSION < QT_VERSION_CHECK(5,14,0))) || defined( MXE )
bool use_fallback=true;
#else
bool use_fallback=false;
Expand Down
4 changes: 4 additions & 0 deletions texstudio.pro
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ QT += \
widgets \
uitools

!isEmpty(MXE){
DEFINES += MXE
}

!isEmpty(PHONON){
QT += phonon4qt5
LIBS += -lphonon4qt5
Expand Down

0 comments on commit 18b2578

Please sign in to comment.