mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-24 21:45:06 +00:00
fix: mac build error
This commit is contained in:
parent
2098388eda
commit
bf849d8a1a
2 changed files with 17 additions and 3 deletions
|
@ -36,6 +36,20 @@ public:
|
|||
QPointF pos = QPointF(0, 0); // normal key
|
||||
QPointF extendPos = QPointF(0, 0); // for drag
|
||||
double extendOffset = 0.0; // for steerWheel
|
||||
|
||||
KeyNode(ActionType type = AT_INVALID,
|
||||
int key = Qt::Key_unknown,
|
||||
QPointF pos = QPointF(0, 0),
|
||||
QPointF extendPos = QPointF(0, 0),
|
||||
double extendOffset = 0.0)
|
||||
: type(type)
|
||||
, key(key)
|
||||
, pos(pos)
|
||||
, extendPos(extendPos)
|
||||
, extendOffset(extendOffset)
|
||||
{
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
struct KeyMapNode {
|
||||
|
@ -112,7 +126,7 @@ private:
|
|||
static QString s_keyMapPath;
|
||||
|
||||
QVector<KeyMapNode> m_keyMapNodes;
|
||||
KeyNode m_switchKey = { AT_KEY, Qt::Key_QuoteLeft };
|
||||
KeyNode m_switchKey = {AT_KEY, Qt::Key_QuoteLeft};
|
||||
|
||||
// just for return
|
||||
KeyMapNode m_invalidNode;
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.4</string>
|
||||
<string>1.2.0</string>
|
||||
<key>CFBundleSupportedPlatforms</key>
|
||||
<array>
|
||||
<string>MacOSX</string>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>1.0.4</string>
|
||||
<string>1.2.0</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>10.10</string>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
|
|
Loading…
Add table
Reference in a new issue