Created
December 27, 2016 18:50
-
-
Save tinvaan/94fb8a490a55effa530befcaa058e10f to your computer and use it in GitHub Desktop.
qt_to_stl.sh
This file contains hidden or 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
#! /bin/bash | |
# Qt unsigned integer types to STL unsigned integer types | |
sed -e 's/quint64/uint64_t/g' $* -i && | |
sed -e 's/quint32/uint32_t/g' $* -i && | |
sed -e 's/quint16/uint16_t/g' $* -i && | |
sed -e 's/quint8/uint8_t/g' $* -i && | |
# Qt integer types to STL integer types | |
sed -e 's/qint64/int64_t/g' $* -i && | |
sed -e 's/qint32/int32_t/g' $* -i && | |
sed -e 's/qint16/int16_t/g' $* -i && | |
sed -e 's/qint8/int8_t/g' $* -i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment