-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 1.2.15. Fixes to package-lib.
- Loading branch information
1 parent
b095922
commit 4cdfc3a
Showing
9 changed files
with
110 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
cbindings/package/changelog.libqt5pas → cbindings/package/changelog
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
removed QTimer_singleShot4() overload because it cannot be used with Qt5 < 5.10 | ||
use QTimer::singleShot() with QObject context from Qt 5.9.0 | ||
fixed Qt documentation inconsistency about QTimer::singleShot() overload. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
# A script, run from the git dir pulled down from https://github.com/davidbannon/libqt5pas | ||
# expects to be run from the cbinding dir. | ||
# It gets the relevent files from gitlab, checks to see if we are out of date | ||
# and updates the local repo if we are. | ||
# After this, you will make the library and then package it. Finally, commit and upload binaries. | ||
|
||
# David Bannon, September 4, 2023 | ||
|
||
|
||
LAZARUS_GIT="/home/dbannon/bin/Lazarus/lazarus-git/" | ||
CURRENT=`pwd` | ||
TMP="/tmp" | ||
TMPFILE="lazarus-main-lcl-interfaces-qt5" | ||
TMPPATH="$TMPFILE"/"lcl/interfaces/qt5/cbindings" | ||
DIFFRES="" | ||
|
||
cd $TMP | ||
rm -f "$TMPFILE".zip | ||
rm -Rf "$TMPFILE" | ||
|
||
wget --output-document="$TMPFILE".zip https://gitlab.com/freepascal.org/lazarus/lazarus/-/archive/main/lazarus-main.zip?path=lcl/interfaces/qt5 | ||
unzip -q "$TMPFILE".zip | ||
|
||
echo "comparing "$TMP"/"$TMPPATH"/"Qt5Pas.pro" with "$CURRENT"/"Qt5Pas.pro"" | ||
|
||
DIFFRES=`diff "$TMP"/"$TMPPATH"/"Qt5Pas.pro" "$CURRENT"/"Qt5Pas.pro"` | ||
|
||
echo "$DIFFRES" | ||
|
||
if [ "$DIFFRES" == "" ]; then | ||
echo "No update needed, we will exit" | ||
exit | ||
fi | ||
|
||
echo "--------------- update needed" | ||
rm -Rf "$CURRENT"/"src" | ||
|
||
cp -r "$TMP"/"$TMPPATH"/* "$CURRENT"/. | ||
|
||
cd "$CURRENT" | ||
git status | ||
|
||
echo "you should now type qmake -qt=qt5; make <enter> and wait a while" | ||
echo "After that, run the package-lib script in package dir" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters