Skip to content
Snippets Groups Projects
Commit 27b9f26c authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Fix Qt plugin packaging in Windows.

A CMake error meant that they went to individual sub directories
rather than one single directories per type.
parent 12f91770
No related branches found
No related tags found
No related merge requests found
......@@ -124,10 +124,10 @@ install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/Installers/WinInstaller/qt.conf DEST
# imageformats
set ( QT_PLUGINS_IMAGEFORMAT qgif4.dll qico4.dll qjpeg4.dll qmng4.dll qsvg4.dll qtga4.dll qtiff4.dll )
foreach( DLL ${QT_PLUGINS_IMAGEFORMAT} )
install ( FILES ${CMAKE_LIBRARY_PATH}/qt_plugins/imageformats/${DLL} DESTINATION plugins/qtplugins/imageformats/${DLL} )
install ( FILES ${CMAKE_LIBRARY_PATH}/qt_plugins/imageformats/${DLL} DESTINATION plugins/qt/imageformats )
endforeach()
# sqlite
install ( FILES ${CMAKE_LIBRARY_PATH}/qt_plugins/sqldrivers/qsqlite4.dll DESTINATION plugins/qtplugins/sqldrivers/qsqlite4.dll )
install ( FILES ${CMAKE_LIBRARY_PATH}/qt_plugins/sqldrivers/qsqlite4.dll DESTINATION plugins/qt/sqldrivers )
###########################################################################
# Include files/libraries required for User compilation
......
[Paths]
plugins = ../plugins/qtplugins
\ No newline at end of file
plugins = ../plugins/qt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment