Skip to content

Commit

Permalink
🐧 Improving Linux installer script
Browse files Browse the repository at this point in the history
- always using Qt Dir

- copying Qt libs in any version number
  • Loading branch information
elieserdejesus committed Dec 24, 2018
1 parent 238adfe commit 56bcd31
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions installers/linux/build_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ cd $destDir

echo "Creating makefile ..."
#-spec linux-g++-32
qmake -config release $projectsDir/Jamtaba.pro
$qtDir/bin/qmake -config release $projectsDir/Jamtaba.pro

echo "generating translation (.qm) files..."
lrelease $projectsDir/Jamtaba.pro
$qtDir/bin/lrelease $projectsDir/Jamtaba.pro

echo "Compiling..."
make -s -j 4
Expand All @@ -64,15 +64,15 @@ cp $scriptDir/Jamtaba2.png packageFiles/Jamtaba2.png
echo "Done!"

echo "Copying Qt distribution files from $qtDir to 'packageFiles'"
cp $qtDir/lib/libQt5Widgets.so.5 packageFiles/
cp $qtDir/lib/libQt5Gui.so.5 packageFiles/
cp $qtDir/lib/libQt5Core.so.5 packageFiles/
cp $qtDir/lib/libQt5Network.so.5 packageFiles/
cp $qtDir/lib/libQt5DBus.so.5 packageFiles/
cp $qtDir/lib/libQt5XcbQpa.so.5 packageFiles/
cp $qtDir/lib/libicui18n.so.54 packageFiles/
cp $qtDir/lib/libicuuc.so.54 packageFiles/
cp $qtDir/lib/libicudata.so.54 packageFiles/
cp $qtDir/lib/libQt5Widgets.so.* packageFiles/
cp $qtDir/lib/libQt5Gui.so.* packageFiles/
cp $qtDir/lib/libQt5Core.so.* packageFiles/
cp $qtDir/lib/libQt5Network.so.* packageFiles/
cp $qtDir/lib/libQt5DBus.so.* packageFiles/
cp $qtDir/lib/libQt5XcbQpa.so.* packageFiles/
cp $qtDir/lib/libicui18n.so.* packageFiles/
cp $qtDir/lib/libicuuc.so.* packageFiles/
cp $qtDir/lib/libicudata.so.* packageFiles/
cp $qtDir/plugins/platforms/libqxcb.so packageFiles/platforms


Expand Down

0 comments on commit 56bcd31

Please sign in to comment.