Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly

Introduction

Qt is a free and open-source widget toolkit for creating graphical user interfaces as well as cross-platform applications that run on various software and hardware platforms with little or no change in the underlying codebase.

Go, also known as Golang, is a programming language designed at Google.

therecipe/qt allows you to write Qt applications entirely in Go, JavaScript/TypeScript, Dart/Flutter, Haxe and Swift

Beside the language bindings provided, therecipe/qt also greatly simplifies the deployment of Qt applications to various software and hardware platforms.

At the time of writing, almost all Qt functions and classes are accessible, and you should be able to find everything you need to build fully featured Qt applications.

Impressions

Gallery of example applications.

JavaScript Demo | source

Installation

The following instructions assume that you already installed Go and Git

(Experimental) cgo-less version (try this first, if you are new and want to test the binding)

Windows
go get -ldflags="-w" github.com/therecipe/examples/basic/widgets && for /f %v in ('go env GOPATH') do %v\bin\widgets.exe
macOS/Linux
go get -ldflags="-w" github.com/therecipe/examples/basic/widgets && $(go env GOPATH)/bin/widgets

Default version

Windows (more info)
set GO111MODULE=off
go get -v github.com/therecipe/qt/cmd/... && for /f %v in ('go env GOPATH') do %v\bin\qtsetup test && %v\bin\qtsetup -test=false
macOS (more info)
export GO111MODULE=off; xcode-select --install; go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false
Linux (more info)
export GO111MODULE=off; go get -v github.com/therecipe/qt/cmd/... && $(go env GOPATH)/bin/qtsetup test && $(go env GOPATH)/bin/qtsetup -test=false

Resources

Deployment Targets

Target Arch Linkage Docker Deployment Host OS
Windows 32 / 64 dynamic / static Yes Any
macOS 64 dynamic Yes Any
Linux arm / arm64 / 64 dynamic / static / system Yes Any
Android (+Wear) arm / arm64 dynamic Yes Any
Android-Emulator (+Wear) 32 dynamic Yes Any
SailfishOS arm system Yes Any
SailfishOS-Emulator 32 system Yes Any
Raspberry Pi (1/2/3) arm dynamic / system Yes Any
Ubuntu Touch arm / 64 system Yes Any
JavaScript 32 static Yes Any
WebAssembly 32 static Yes Any
iOS arm64 static No macOS
iOS-Simulator 64 static No macOS
AsteroidOS arm system No Linux
FreeBSD 32 / 64 system No FreeBSD

License

This package is released under LGPLv3

Qt itself is licensed and available under multiple licenses.

Comments
  • msys2 (go1.11.1 amd64,qt5.11.1 static) install error

    msys2 (go1.11.1 amd64,qt5.11.1 static) install error

    pacman -Ss mingw-w64-x86_64-qt5-static

    $ $GOPATH/bin/qtsetup.exe check time="2018-10-13T09:30:37+08:00" level=info msg="running: 'qtsetup check windows' [docker=false] [vagrant=false]" time="2018-10-13T09:30:38+08:00" level=info msg="GOOS: 'windows'" time="2018-10-13T09:30:38+08:00" level=info msg="GOARCH: 'amd64'" time="2018-10-13T09:30:38+08:00" level=info msg="GOVERSION: 'go1.11.1'" time="2018-10-13T09:30:38+08:00" level=info msg="GOROOT: * 'C:/msys64/mingw64/lib/go'" time="2018-10-13T09:30:38+08:00" level=info msg="GOPATH: * 'C:/msys64/home/fbi/go'" time="2018-10-13T09:30:38+08:00" level=info msg="GOBIN: 'C:\msys64\home\fbi\go\bin'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_HASH: 'e06f9cf01cf2e4d158ba08ecfea0e38930da54ec'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_VERSION: '5.11.1'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_VERSION_MAJOR: '5.11.1'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_DIR: 'C:\Qt\Qt5.11.1'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_STUB: 'false'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_DEBUG: 'false'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_QMAKE_DIR: ''" time="2018-10-13T09:30:38+08:00" level=info msg="QT_WEBKIT: 'false'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_MSYS2: * 'true'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_MSYS2_DIR: 'C:\msys64\mingw64'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_MSYS2_ARCH: 'amd64'" time="2018-10-13T09:30:38+08:00" level=info msg="QT_MSYS2_STATIC: * 'true'"

    $GOPATH/bin/qtsetup.exe

    $ $GOPATH/bin/qtsetup.exe time="2018-10-13T16:13:10+08:00" level=info msg="running: 'qtsetup prep'" time="2018-10-13T16:13:11+08:00" level=info msg="running: 'qtsetup check windows' [docker=false] [vagrant=false]" time="2018-10-13T16:13:11+08:00" level=info msg="GOOS: 'windows'" time="2018-10-13T16:13:11+08:00" level=info msg="GOARCH: 'amd64'" time="2018-10-13T16:13:11+08:00" level=info msg="GOVERSION: 'go1.11.1'" time="2018-10-13T16:13:11+08:00" level=info msg="GOROOT: * 'C:/msys64/mingw64/lib/go'" time="2018-10-13T16:13:11+08:00" level=info msg="GOPATH: * 'C:/msys64/home/fbi/go'" time="2018-10-13T16:13:11+08:00" level=info msg="GOBIN: 'C:\msys64\home\fbi\go\bin'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_HASH: 'e06f9cf01cf2e4d158ba08ecfea0e38930da54ec'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_VERSION: '5.11.1'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_VERSION_MAJOR: '5.11.1'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_DIR: 'C:\Qt\Qt5.11.1'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_STUB: 'false'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_DEBUG: 'false'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_QMAKE_DIR: ''" time="2018-10-13T16:13:11+08:00" level=info msg="QT_WEBKIT: 'false'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_MSYS2: * 'true'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_MSYS2_DIR: 'C:\msys64\mingw64'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_MSYS2_ARCH: 'amd64'" time="2018-10-13T16:13:11+08:00" level=info msg="QT_MSYS2_STATIC: * 'true'" time="2018-10-13T16:13:11+08:00" level=info msg="running: 'qtsetup generate windows' [docker=false] [vagrant=false]" time="2018-10-13T16:13:15+08:00" level=info msg="generating full qt/core" time="2018-10-13T16:13:28+08:00" level=info msg="generating full qt/androidextras" time="2018-10-13T16:13:29+08:00" level=info msg="generating full qt/gui" time="2018-10-13T16:13:58+08:00" level=info msg="generating full qt/network" time="2018-10-13T16:14:08+08:00" level=info msg="generating full qt/xml" time="2018-10-13T16:14:09+08:00" level=info msg="generating full qt/dbus" time="2018-10-13T16:14:18+08:00" level=info msg="generating full qt/nfc" time="2018-10-13T16:14:26+08:00" level=info msg="generating full qt/script" time="2018-10-13T16:14:34+08:00" level=info msg="generating full qt/sensors" time="2018-10-13T16:14:44+08:00" level=info msg="generating full qt/positioning" time="2018-10-13T16:14:52+08:00" level=info msg="generating full qt/widgets" time="2018-10-13T16:15:21+08:00" level=info msg="generating full qt/sql" time="2018-10-13T16:15:29+08:00" level=info msg="generating full qt/qml" time="2018-10-13T16:15:38+08:00" level=info msg="generating full qt/websockets" time="2018-10-13T16:15:46+08:00" level=info msg="generating full qt/xmlpatterns" time="2018-10-13T16:15:54+08:00" level=info msg="generating full qt/bluetooth" time="2018-10-13T16:16:03+08:00" level=info msg="generating full qt/webchannel" time="2018-10-13T16:16:11+08:00" level=info msg="generating full qt/svg" time="2018-10-13T16:16:19+08:00" level=info msg="generating full qt/multimedia" time="2018-10-13T16:16:33+08:00" level=info msg="generating full qt/quick" time="2018-10-13T16:16:42+08:00" level=info msg="generating full qt/help" time="2018-10-13T16:16:52+08:00" level=info msg="generating full qt/location" time="2018-10-13T16:17:00+08:00" level=info msg="generating full qt/scripttools" time="2018-10-13T16:17:08+08:00" level=info msg="generating full qt/uitools" time="2018-10-13T16:17:16+08:00" level=info msg="generating full qt/winextras" time="2018-10-13T16:17:25+08:00" level=info msg="generating full qt/testlib" time="2018-10-13T16:17:32+08:00" level=info msg="generating full qt/serialport" time="2018-10-13T16:17:40+08:00" level=info msg="generating full qt/serialbus" time="2018-10-13T16:17:49+08:00" level=info msg="generating full qt/printsupport" time="2018-10-13T16:17:51+08:00" level=info msg="generating full qt/designer" time="2018-10-13T16:18:01+08:00" level=info msg="generating full qt/scxml" time="2018-10-13T16:18:09+08:00" level=info msg="generating full qt/gamepad" time="2018-10-13T16:18:17+08:00" level=info msg="generating full qt/datavisualization" time="2018-10-13T16:18:27+08:00" level=info msg="generating full qt/charts" time="2018-10-13T16:18:39+08:00" level=info msg="generating full qt/speech" time="2018-10-13T16:18:47+08:00" level=info msg="generating full qt/quickcontrols2" time="2018-10-13T16:18:55+08:00" level=info msg="generating full qt/sailfish" time="2018-10-13T16:18:55+08:00" level=info msg="generating full qt/remoteobjects" time="2018-10-13T16:19:03+08:00" level=info msg="running: 'qtsetup install windows' [docker=false] [vagrant=false]" time="2018-10-13T16:19:03+08:00" level=info msg="installing full qt/core" time="2018-10-13T16:21:25+08:00" level=error msg="failed to run command" cmd="go install -p 8 -v github.com/therecipe/qt/core" env="TEMP=C:\msys64\tmp CGO_CFLAGS_ALLOW=.* CGO_CXXFLAGS_ALLOW=.* CGO_LDFLAGS_ALLOW=.* GOARCH=amd64 PATH=C:\msys64\mingw64\bin;C:\msys64\mingw64\bin;C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\usr\bin;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\msys64\usr\bin\site_perl;C:\msys64\usr\bin\vendor_perl;C:\msys64\usr\bin\core_perl GOPATH=C:/msys64/home/fbi/go TMP=C:\msys64\tmp GOOS=windows CGO_ENABLED=1 GOROOT=C:/msys64/mingw64/lib/go" error="exit status 2" func=RunCmdOptionalError name="install core" github.com/therecipe/qt github.com/therecipe/qt/core

    github.com/therecipe/qt/core

    core.cpp: In function 'void QAbstractItemModel_ConnectColumnsAboutToBeInserted(void*)': core.cpp:1245:176: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsAboutToBeInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsAboutToBeInserted)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectColumnsAboutToBeInserted(void)': core.cpp:1250:179: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsAboutToBeInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsAboutToBeInserted)); ^ core.cpp: In function 'void QAbstractItemModel_ColumnsAboutToBeInserted(void, void*, int, int)': core.cpp:1255:113: error: no matching function for call to 'QAbstractItemModel::columnsAboutToBeInserted(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->columnsAboutToBeInserted(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:280:10: note: candidate: 'void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void columnsAboutToBeInserted(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:280:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectColumnsAboutToBeMoved(void*)': core.cpp:1260:199: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::columnsAboutToBeMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_ColumnsAboutToBeMoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectColumnsAboutToBeMoved(void)': core.cpp:1265:202: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::columnsAboutToBeMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_ColumnsAboutToBeMoved)); ^ core.cpp: In function 'void QAbstractItemModel_ColumnsAboutToBeMoved(void, void*, int, int, void*, int)': core.cpp:1270:193: error: no matching function for call to 'QAbstractItemModel::columnsAboutToBeMoved(QModelIndex&, int&, int&, QModelIndex&, int&)' static_cast<QAbstractItemModel*>(ptr)->columnsAboutToBeMoved(static_cast<QModelIndex>(sourceParent), sourceStart, sourceEnd, static_cast<QModelIndex>(destinationParent), destinationColumn); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:292:10: note: candidate: 'void QAbstractItemModel::columnsAboutToBeMoved(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' void columnsAboutToBeMoved( const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn, QPrivateSignal); ^~~~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:292:10: note: candidate expects 6 arguments, 5 provided core.cpp: In function 'void QAbstractItemModel_ConnectColumnsAboutToBeRemoved(void*)': core.cpp:1275:175: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsAboutToBeRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsAboutToBeRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectColumnsAboutToBeRemoved(void)': core.cpp:1280:178: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsAboutToBeRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsAboutToBeRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_ColumnsAboutToBeRemoved(void, void*, int, int)': core.cpp:1285:112: error: no matching function for call to 'QAbstractItemModel::columnsAboutToBeRemoved(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->columnsAboutToBeRemoved(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:283:10: note: candidate: 'void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:283:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectColumnsInserted(void*)': core.cpp:1290:167: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsInserted)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectColumnsInserted(void)': core.cpp:1295:170: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsInserted)); ^ core.cpp: In function 'void QAbstractItemModel_ColumnsInserted(void, void*, int, int)': core.cpp:1300:104: error: no matching function for call to 'QAbstractItemModel::columnsInserted(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->columnsInserted(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:281:10: note: candidate: 'void QAbstractItemModel::columnsInserted(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void columnsInserted(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:281:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectColumnsMoved(void*)': core.cpp:1305:190: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::columnsMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_ColumnsMoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectColumnsMoved(void)': core.cpp:1310:193: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::columnsMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_ColumnsMoved)); ^ core.cpp: In function 'void QAbstractItemModel_ColumnsMoved(void, void*, int, int, void*, int)': core.cpp:1315:149: error: no matching function for call to 'QAbstractItemModel::columnsMoved(QModelIndex&, int&, int&, QModelIndex&, int&)' static_cast<QAbstractItemModel*>(ptr)->columnsMoved(static_cast<QModelIndex>(parent), start, end, static_cast<QModelIndex>(destination), column); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:293:10: note: candidate: 'void QAbstractItemModel::columnsMoved(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' void columnsMoved( const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column, QPrivateSignal); ^~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:293:10: note: candidate expects 6 arguments, 5 provided core.cpp: In function 'void QAbstractItemModel_ConnectColumnsRemoved(void*)': core.cpp:1320:166: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectColumnsRemoved(void)': core.cpp:1325:169: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::columnsRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_ColumnsRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_ColumnsRemoved(void, void*, int, int)': core.cpp:1330:103: error: no matching function for call to 'QAbstractItemModel::columnsRemoved(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->columnsRemoved(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:284:10: note: candidate: 'void QAbstractItemModel::columnsRemoved(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void columnsRemoved(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:284:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectModelAboutToBeReset(void*)': core.cpp:1457:142: error: invalid static_cast from type 'void (QAbstractItemModel::)(QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)()' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)()>(&QAbstractItemModel::modelAboutToBeReset), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)()>(&MyQAbstractItemModel::Signal_ModelAboutToBeReset)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectModelAboutToBeReset(void)': core.cpp:1462:145: error: invalid static_cast from type 'void (QAbstractItemModel::)(QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)()' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)()>(&QAbstractItemModel::modelAboutToBeReset), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)()>(&MyQAbstractItemModel::Signal_ModelAboutToBeReset)); ^ core.cpp: In function 'void QAbstractItemModel_ModelAboutToBeReset(void)': core.cpp:1467:61: error: no matching function for call to 'QAbstractItemModel::modelAboutToBeReset()' static_cast<QAbstractItemModel*>(ptr)->modelAboutToBeReset(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:286:10: note: candidate: 'void QAbstractItemModel::modelAboutToBeReset(QAbstractItemModel::QPrivateSignal)' void modelAboutToBeReset(QPrivateSignal); ^~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:286:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractItemModel_ConnectModelReset(void*)': core.cpp:1472:133: error: invalid static_cast from type 'void (QAbstractItemModel::)(QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)()' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)()>(&QAbstractItemModel::modelReset), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)()>(&MyQAbstractItemModel::Signal_ModelReset)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectModelReset(void)': core.cpp:1477:136: error: invalid static_cast from type 'void (QAbstractItemModel::)(QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)()' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)()>(&QAbstractItemModel::modelReset), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)()>(&MyQAbstractItemModel::Signal_ModelReset)); ^ core.cpp: In function 'void QAbstractItemModel_ModelReset(void)': core.cpp:1482:52: error: no matching function for call to 'QAbstractItemModel::modelReset()' static_cast<QAbstractItemModel*>(ptr)->modelReset(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:287:10: note: candidate: 'void QAbstractItemModel::modelReset(QAbstractItemModel::QPrivateSignal)' void modelReset(QPrivateSignal); ^~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:287:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractItemModel_ConnectRowsAboutToBeInserted(void*)': core.cpp:1535:173: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsAboutToBeInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsAboutToBeInserted)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectRowsAboutToBeInserted(void)': core.cpp:1540:176: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsAboutToBeInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsAboutToBeInserted)); ^ core.cpp: In function 'void QAbstractItemModel_RowsAboutToBeInserted(void, void*, int, int)': core.cpp:1545:109: error: no matching function for call to 'QAbstractItemModel::rowsAboutToBeInserted(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->rowsAboutToBeInserted(static_cast<QModelIndex>(parent), start, end); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:274:10: note: candidate: 'void QAbstractItemModel::rowsAboutToBeInserted(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void rowsAboutToBeInserted(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:274:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectRowsAboutToBeMoved(void*)': core.cpp:1550:196: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::rowsAboutToBeMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_RowsAboutToBeMoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectRowsAboutToBeMoved(void)': core.cpp:1555:199: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::rowsAboutToBeMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_RowsAboutToBeMoved)); ^ core.cpp: In function 'void QAbstractItemModel_RowsAboutToBeMoved(void, void*, int, int, void*, int)': core.cpp:1560:187: error: no matching function for call to 'QAbstractItemModel::rowsAboutToBeMoved(QModelIndex&, int&, int&, QModelIndex&, int&)' static_cast<QAbstractItemModel*>(ptr)->rowsAboutToBeMoved(static_cast<QModelIndex>(sourceParent), sourceStart, sourceEnd, static_cast<QModelIndex>(destinationParent), destinationRow); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:289:10: note: candidate: 'void QAbstractItemModel::rowsAboutToBeMoved(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' void rowsAboutToBeMoved( const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow, QPrivateSignal); ^~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:289:10: note: candidate expects 6 arguments, 5 provided core.cpp: In function 'void QAbstractItemModel_ConnectRowsAboutToBeRemoved(void*)': core.cpp:1565:172: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsAboutToBeRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsAboutToBeRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectRowsAboutToBeRemoved(void)': core.cpp:1570:175: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsAboutToBeRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsAboutToBeRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_RowsAboutToBeRemoved(void, void*, int, int)': core.cpp:1575:109: error: no matching function for call to 'QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex&, int&,int&)' static_cast<QAbstractItemModel*>(ptr)->rowsAboutToBeRemoved(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:277:10: note: candidate: 'void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:277:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectRowsInserted(void*)': core.cpp:1580:164: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsInserted)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectRowsInserted(void)': core.cpp:1585:167: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsInserted), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsInserted)); ^ core.cpp: In function 'void QAbstractItemModel_RowsInserted(void, void*, int, int)': core.cpp:1590:101: error: no matching function for call to 'QAbstractItemModel::rowsInserted(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->rowsInserted(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:275:10: note: candidate: 'void QAbstractItemModel::rowsInserted(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void rowsInserted(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:275:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractItemModel_ConnectRowsMoved(void*)': core.cpp:1595:187: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::rowsMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_RowsMoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectRowsMoved(void)': core.cpp:1600:190: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, const QModelIndex&, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&QAbstractItemModel::rowsMoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int, const QModelIndex &, int)>(&MyQAbstractItemModel::Signal_RowsMoved)); ^ core.cpp: In function 'void QAbstractItemModel_RowsMoved(void, void*, int, int, void*, int)': core.cpp:1605:143: error: no matching function for call to 'QAbstractItemModel::rowsMoved(QModelIndex&, int&, int&, QModelIndex&, int&)' static_cast<QAbstractItemModel*>(ptr)->rowsMoved(static_cast<QModelIndex>(parent), start, end, static_cast<QModelIndex>(destination), row); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:290:10: note: candidate: 'void QAbstractItemModel::rowsMoved(const QModelIndex&, int, int, const QModelIndex&, int, QAbstractItemModel::QPrivateSignal)' void rowsMoved( const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row, QPrivateSignal); ^~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:290:10: note: candidate expects 6 arguments, 5 provided core.cpp: In function 'void QAbstractItemModel_ConnectRowsRemoved(void*)': core.cpp:1610:163: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::connect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_DisconnectRowsRemoved(void)': core.cpp:1615:166: error: invalid static_cast from type 'void (QAbstractItemModel::)(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' to type 'void (QAbstractItemModel::)(const QModelIndex&, int, int)' QObject::disconnect(static_cast<QAbstractItemModel*>(ptr), static_cast<void (QAbstractItemModel::)(const QModelIndex &, int, int)>(&QAbstractItemModel::rowsRemoved), static_cast<MyQAbstractItemModel>(ptr), static_cast<void (MyQAbstractItemModel::)(const QModelIndex &, int, int)>(&MyQAbstractItemModel::Signal_RowsRemoved)); ^ core.cpp: In function 'void QAbstractItemModel_RowsRemoved(void, void*, int, int)': core.cpp:1620:100: error: no matching function for call to 'QAbstractItemModel::rowsRemoved(QModelIndex&, int&, int&)' static_cast<QAbstractItemModel*>(ptr)->rowsRemoved(static_cast<QModelIndex>(parent), first, last); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractItemModel:1, from core.cpp:11: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:278:10: note: candidate: 'void QAbstractItemModel::rowsRemoved(const QModelIndex&, int, int, QAbstractItemModel::QPrivateSignal)' void rowsRemoved(const QModelIndex &parent, int first, int last, QPrivateSignal); ^~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractitemmodel.h:278:10: note: candidate expects 4 arguments, 3 provided core.cpp: In function 'void QAbstractProxyModel_ConnectSourceModelChanged(void*)': core.cpp:2791:144: error: invalid static_cast from type 'void (QAbstractProxyModel::)(QAbstractProxyModel::QPrivateSignal)' to type 'void (QAbstractProxyModel::)()' QObject::connect(static_cast<QAbstractProxyModel*>(ptr), static_cast<void (QAbstractProxyModel::)()>(&QAbstractProxyModel::sourceModelChanged), static_cast<MyQAbstractProxyModel>(ptr), static_cast<void (MyQAbstractProxyModel::)()>(&MyQAbstractProxyModel::Signal_SourceModelChanged)); ^ core.cpp: In function 'void QAbstractProxyModel_DisconnectSourceModelChanged(void)': core.cpp:2796:147: error: invalid static_cast from type 'void (QAbstractProxyModel::)(QAbstractProxyModel::QPrivateSignal)' to type 'void (QAbstractProxyModel::)()' QObject::disconnect(static_cast<QAbstractProxyModel*>(ptr), static_cast<void (QAbstractProxyModel::)()>(&QAbstractProxyModel::sourceModelChanged), static_cast<MyQAbstractProxyModel>(ptr), static_cast<void (MyQAbstractProxyModel::)()>(&MyQAbstractProxyModel::Signal_SourceModelChanged)); ^ core.cpp: In function 'void QAbstractProxyModel_SourceModelChanged(void)': core.cpp:2801:61: error: no matching function for call to 'QAbstractProxyModel::sourceModelChanged()' static_cast<QAbstractProxyModel*>(ptr)->sourceModelChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractProxyModel:1, from core.cpp:14: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractproxymodel.h:100:10: note: candidate: 'void QAbstractProxyModel::sourceModelChanged(QAbstractProxyModel::QPrivateSignal)' void sourceModelChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractproxymodel.h:100:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractState_ConnectEntered(void*)': core.cpp:2996:118: error: invalid static_cast from type 'void (QAbstractState::)(QAbstractState::QPrivateSignal)' to type 'void (QAbstractState::)()' QObject::connect(static_cast<QAbstractState*>(ptr), static_cast<void (QAbstractState::)()>(&QAbstractState::entered),static_cast<MyQAbstractState>(ptr), static_cast<void (MyQAbstractState::)()>(&MyQAbstractState::Signal_Entered)); ^ core.cpp: In function 'void QAbstractState_DisconnectEntered(void)': core.cpp:3001:121: error: invalid static_cast from type 'void (QAbstractState::)(QAbstractState::QPrivateSignal)' to type 'void (QAbstractState::)()' QObject::disconnect(static_cast<QAbstractState*>(ptr), static_cast<void (QAbstractState::)()>(&QAbstractState::entered), static_cast<MyQAbstractState>(ptr), static_cast<void (MyQAbstractState::)()>(&MyQAbstractState::Signal_Entered)); ^ core.cpp: In function 'void QAbstractState_Entered(void)': core.cpp:3006:45: error: no matching function for call to 'QAbstractState::entered()' static_cast<QAbstractState*>(ptr)->entered(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractState:1, from core.cpp:15: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractstate.h:66:10: note: candidate: 'void QAbstractState::entered(QAbstractState::QPrivateSignal)' void entered(QPrivateSignal); ^~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractstate.h:66:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractState_ConnectExited(void*)': core.cpp:3011:117: error: invalid static_cast from type 'void (QAbstractState::)(QAbstractState::QPrivateSignal)' to type 'void (QAbstractState::)()' QObject::connect(static_cast<QAbstractState*>(ptr), static_cast<void (QAbstractState::)()>(&QAbstractState::exited), static_cast<MyQAbstractState>(ptr), static_cast<void (MyQAbstractState::)()>(&MyQAbstractState::Signal_Exited)); ^ core.cpp: In function 'void QAbstractState_DisconnectExited(void)': core.cpp:3016:120: error: invalid static_cast from type 'void (QAbstractState::)(QAbstractState::QPrivateSignal)' to type 'void (QAbstractState::)()' QObject::disconnect(static_cast<QAbstractState*>(ptr), static_cast<void (QAbstractState::)()>(&QAbstractState::exited), static_cast<MyQAbstractState>(ptr), static_cast<void (MyQAbstractState::)()>(&MyQAbstractState::Signal_Exited)); ^ core.cpp: In function 'void QAbstractState_Exited(void)': core.cpp:3021:44: error: no matching function for call to 'QAbstractState::exited()' static_cast<QAbstractState*>(ptr)->exited(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractState:1, from core.cpp:15: C:/msys64/mingw64/qt5-static/include/QtCore/qabstractstate.h:67:10: note: candidate: 'void QAbstractState::exited(QAbstractState::QPrivateSignal)' void exited(QPrivateSignal); ^~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstractstate.h:67:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractTransition_ConnectTargetStateChanged(void*)': core.cpp:3316:144: error: invalid static_cast from type 'void (QAbstractTransition::)(QAbstractTransition::QPrivateSignal)' to type 'void (QAbstractTransition::)()' QObject::connect(static_cast<QAbstractTransition*>(ptr), static_cast<void (QAbstractTransition::)()>(&QAbstractTransition::targetStateChanged), static_cast<MyQAbstractTransition>(ptr), static_cast<void (MyQAbstractTransition::)()>(&MyQAbstractTransition::Signal_TargetStateChanged)); ^ core.cpp: In function 'void QAbstractTransition_DisconnectTargetStateChanged(void)': core.cpp:3321:147: error: invalid static_cast from type 'void (QAbstractTransition::)(QAbstractTransition::QPrivateSignal)' to type 'void (QAbstractTransition::)()' QObject::disconnect(static_cast<QAbstractTransition*>(ptr), static_cast<void (QAbstractTransition::)()>(&QAbstractTransition::targetStateChanged), static_cast<MyQAbstractTransition>(ptr), static_cast<void (MyQAbstractTransition::)()>(&MyQAbstractTransition::Signal_TargetStateChanged)); ^ core.cpp: In function 'void QAbstractTransition_TargetStateChanged(void)': core.cpp:3326:61: error: no matching function for call to 'QAbstractTransition::targetStateChanged()' static_cast<QAbstractTransition*>(ptr)->targetStateChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractTransition:1, from core.cpp:17: C:/msys64/mingw64/qt5-static/include/QtCore/qabstracttransition.h:97:10: note: candidate: 'void QAbstractTransition::targetStateChanged(QAbstractTransition::QPrivateSignal)' void targetStateChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstracttransition.h:97:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractTransition_ConnectTargetStatesChanged(void*)': core.cpp:3331:145: error: invalid static_cast from type 'void (QAbstractTransition::)(QAbstractTransition::QPrivateSignal)' to type 'void (QAbstractTransition::)()' QObject::connect(static_cast<QAbstractTransition*>(ptr), static_cast<void (QAbstractTransition::)()>(&QAbstractTransition::targetStatesChanged), static_cast<MyQAbstractTransition>(ptr), static_cast<void (MyQAbstractTransition::)()>(&MyQAbstractTransition::Signal_TargetStatesChanged)); ^ core.cpp: In function 'void QAbstractTransition_DisconnectTargetStatesChanged(void)': core.cpp:3336:148: error: invalid static_cast from type 'void (QAbstractTransition::)(QAbstractTransition::QPrivateSignal)' to type 'void (QAbstractTransition::)()' QObject::disconnect(static_cast<QAbstractTransition*>(ptr), static_cast<void (QAbstractTransition::)()>(&QAbstractTransition::targetStatesChanged), static_cast<MyQAbstractTransition>(ptr), static_cast<void (MyQAbstractTransition::)()>(&MyQAbstractTransition::Signal_TargetStatesChanged)); ^ core.cpp: In function 'void QAbstractTransition_TargetStatesChanged(void)': core.cpp:3341:62: error: no matching function for call to 'QAbstractTransition::targetStatesChanged()' static_cast<QAbstractTransition*>(ptr)->targetStatesChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractTransition:1, from core.cpp:17: C:/msys64/mingw64/qt5-static/include/QtCore/qabstracttransition.h:98:10: note: candidate: 'void QAbstractTransition::targetStatesChanged(QAbstractTransition::QPrivateSignal)' void targetStatesChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstracttransition.h:98:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QAbstractTransition_ConnectTriggered(void*)': core.cpp:3346:135: error: invalid static_cast from type 'void (QAbstractTransition::)(QAbstractTransition::QPrivateSignal)' to type 'void (QAbstractTransition::)()' QObject::connect(static_cast<QAbstractTransition*>(ptr), static_cast<void (QAbstractTransition::)()>(&QAbstractTransition::triggered), static_cast<MyQAbstractTransition>(ptr), static_cast<void (MyQAbstractTransition::)()>(&MyQAbstractTransition::Signal_Triggered)); ^ core.cpp: In function 'void QAbstractTransition_DisconnectTriggered(void)': core.cpp:3351:138: error: invalid static_cast from type 'void (QAbstractTransition::)(QAbstractTransition::QPrivateSignal)' to type 'void (QAbstractTransition::)()' QObject::disconnect(static_cast<QAbstractTransition*>(ptr), static_cast<void (QAbstractTransition::)()>(&QAbstractTransition::triggered), static_cast<MyQAbstractTransition>(ptr), static_cast<void (MyQAbstractTransition::)()>(&MyQAbstractTransition::Signal_Triggered)); ^ core.cpp: In function 'void QAbstractTransition_Triggered(void)': core.cpp:3356:52: error: no matching function for call to 'QAbstractTransition::triggered()' static_cast<QAbstractTransition*>(ptr)->triggered(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractTransition:1, from core.cpp:17: C:/msys64/mingw64/qt5-static/include/QtCore/qabstracttransition.h:96:10: note: candidate: 'void QAbstractTransition::triggered(QAbstractTransition::QPrivateSignal)' void triggered(QPrivateSignal); ^~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qabstracttransition.h:96:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QCoreApplication_ConnectAboutToQuit(void*)': core.cpp:5681:128: error: invalid static_cast from type 'void (QCoreApplication::)(QCoreApplication::QPrivateSignal)' to type 'void (QCoreApplication::)()' QObject::connect(static_cast<QCoreApplication*>(ptr), static_cast<void (QCoreApplication::)()>(&QCoreApplication::aboutToQuit), static_cast<MyQCoreApplication>(ptr), static_cast<void (MyQCoreApplication::)()>(&MyQCoreApplication::Signal_AboutToQuit)); ^ core.cpp: In function 'void QCoreApplication_DisconnectAboutToQuit(void)': core.cpp:5686:131: error: invalid static_cast from type 'void (QCoreApplication::)(QCoreApplication::QPrivateSignal)' to type 'void (QCoreApplication::)()' QObject::disconnect(static_cast<QCoreApplication*>(ptr), static_cast<void (QCoreApplication::)()>(&QCoreApplication::aboutToQuit), static_cast<MyQCoreApplication>(ptr), static_cast<void (MyQCoreApplication::)()>(&MyQCoreApplication::Signal_AboutToQuit)); ^ core.cpp: In function 'void QCoreApplication_AboutToQuit(void)': core.cpp:5691:51: error: no matching function for call to 'QCoreApplication::aboutToQuit()' static_cast<QCoreApplication*>(ptr)->aboutToQuit(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/qcommandlineparser.h:45, from C:/msys64/mingw64/qt5-static/include/QtCore/QCommandLineParser:1, from core.cpp:36: C:/msys64/mingw64/qt5-static/include/QtCore/qcoreapplication.h:182:10: note: candidate: 'void QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal)' void aboutToQuit(QPrivateSignal); ^~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qcoreapplication.h:182:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QFileSystemWatcher_ConnectDirectoryChanged(void*)': core.cpp:8394:154: error: invalid static_cast from type 'void (QFileSystemWatcher::)(const QString&, QFileSystemWatcher::QPrivateSignal)' to type 'void (QFileSystemWatcher::)(const QString&)' QObject::connect(static_cast<QFileSystemWatcher*>(ptr), static_cast<void (QFileSystemWatcher::)(const QString &)>(&QFileSystemWatcher::directoryChanged), static_cast<MyQFileSystemWatcher>(ptr), static_cast<void (MyQFileSystemWatcher::)(const QString &)>(&MyQFileSystemWatcher::Signal_DirectoryChanged)); ^ core.cpp: In function 'void QFileSystemWatcher_DisconnectDirectoryChanged(void)': core.cpp:8399:157: error: invalid static_cast from type 'void (QFileSystemWatcher::)(const QString&, QFileSystemWatcher::QPrivateSignal)' to type 'void (QFileSystemWatcher::)(const QString&)' QObject::disconnect(static_cast<QFileSystemWatcher*>(ptr), static_cast<void (QFileSystemWatcher::)(const QString &)>(&QFileSystemWatcher::directoryChanged), static_cast<MyQFileSystemWatcher>(ptr), static_cast<void (MyQFileSystemWatcher::)(const QString &)>(&MyQFileSystemWatcher::Signal_DirectoryChanged)); ^ core.cpp: In function 'void QFileSystemWatcher_DirectoryChanged(void, QtCore_PackedString)': core.cpp:8404:96: error: no matching function for call to 'QFileSystemWatcher::directoryChanged(QString)' static_cast<QFileSystemWatcher*>(ptr)->directoryChanged(QString::fromUtf8(path.data, path.len)); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QFileSystemWatcher:1, from core.cpp:61: C:/msys64/mingw64/qt5-static/include/QtCore/qfilesystemwatcher.h:72:10: note: candidate: 'void QFileSystemWatcher::directoryChanged(const QString&, QFileSystemWatcher::QPrivateSignal)' void directoryChanged(const QString &path, QPrivateSignal); ^~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qfilesystemwatcher.h:72:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QFileSystemWatcher_ConnectFileChanged(void*)': core.cpp:8409:149: error: invalid static_cast from type 'void (QFileSystemWatcher::)(const QString&, QFileSystemWatcher::QPrivateSignal)' to type 'void (QFileSystemWatcher::)(const QString&)' QObject::connect(static_cast<QFileSystemWatcher*>(ptr), static_cast<void (QFileSystemWatcher::)(const QString &)>(&QFileSystemWatcher::fileChanged), static_cast<MyQFileSystemWatcher>(ptr), static_cast<void (MyQFileSystemWatcher::)(constQString &)>(&MyQFileSystemWatcher::Signal_FileChanged)); ^ core.cpp: In function 'void QFileSystemWatcher_DisconnectFileChanged(void)': core.cpp:8414:152: error: invalid static_cast from type 'void (QFileSystemWatcher::)(const QString&, QFileSystemWatcher::QPrivateSignal)' to type 'void (QFileSystemWatcher::)(const QString&)' QObject::disconnect(static_cast<QFileSystemWatcher*>(ptr), static_cast<void (QFileSystemWatcher::)(const QString &)>(&QFileSystemWatcher::fileChanged), static_cast<MyQFileSystemWatcher>(ptr), static_cast<void (MyQFileSystemWatcher::)(const QString &)>(&MyQFileSystemWatcher::Signal_FileChanged)); ^ core.cpp: In function 'void QFileSystemWatcher_FileChanged(void, QtCore_PackedString)': core.cpp:8419:91: error: no matching function for call to 'QFileSystemWatcher::fileChanged(QString)' static_cast<QFileSystemWatcher*>(ptr)->fileChanged(QString::fromUtf8(path.data, path.len)); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QFileSystemWatcher:1, from core.cpp:61: C:/msys64/mingw64/qt5-static/include/QtCore/qfilesystemwatcher.h:71:10: note: candidate: 'void QFileSystemWatcher::fileChanged(const QString&, QFileSystemWatcher::QPrivateSignal)' void fileChanged(const QString &path, QPrivateSignal); ^~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qfilesystemwatcher.h:71:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QHistoryState_ConnectDefaultStateChanged(void*)': core.cpp:8589:127: error: invalid static_cast from type 'void (QHistoryState::)(QHistoryState::QPrivateSignal)' to type'void (QHistoryState::)()' QObject::connect(static_cast<QHistoryState*>(ptr), static_cast<void (QHistoryState::)()>(&QHistoryState::defaultStateChanged), static_cast<MyQHistoryState>(ptr), static_cast<void (MyQHistoryState::)()>(&MyQHistoryState::Signal_DefaultStateChanged)); ^ core.cpp: In function 'void QHistoryState_DisconnectDefaultStateChanged(void)': core.cpp:8594:130: error: invalid static_cast from type 'void (QHistoryState::)(QHistoryState::QPrivateSignal)' to type'void (QHistoryState::)()' QObject::disconnect(static_cast<QHistoryState*>(ptr), static_cast<void (QHistoryState::)()>(&QHistoryState::defaultStateChanged), static_cast<MyQHistoryState>(ptr), static_cast<void (MyQHistoryState::)()>(&MyQHistoryState::Signal_DefaultStateChanged)); ^ core.cpp: In function 'void QHistoryState_DefaultStateChanged(void)': core.cpp:8599:56: error: no matching function for call to 'QHistoryState::defaultStateChanged()' static_cast<QHistoryState*>(ptr)->defaultStateChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QHistoryState:1, from core.cpp:70: C:/msys64/mingw64/qt5-static/include/QtCore/qhistorystate.h:79:10: note: candidate: 'void QHistoryState::defaultStateChanged(QHistoryState::QPrivateSignal)' void defaultStateChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qhistorystate.h:79:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QHistoryState_ConnectDefaultTransitionChanged(void*)': core.cpp:8604:132: error: invalid static_cast from type 'void (QHistoryState::)(QHistoryState::QPrivateSignal)' to type'void (QHistoryState::)()' QObject::connect(static_cast<QHistoryState*>(ptr), static_cast<void (QHistoryState::)()>(&QHistoryState::defaultTransitionChanged), static_cast<MyQHistoryState>(ptr), static_cast<void (MyQHistoryState::)()>(&MyQHistoryState::Signal_DefaultTransitionChanged)); ^ core.cpp: In function 'void QHistoryState_DisconnectDefaultTransitionChanged(void)': core.cpp:8609:135: error: invalid static_cast from type 'void (QHistoryState::)(QHistoryState::QPrivateSignal)' to type'void (QHistoryState::)()' QObject::disconnect(static_cast<QHistoryState*>(ptr), static_cast<void (QHistoryState::)()>(&QHistoryState::defaultTransitionChanged), static_cast<MyQHistoryState>(ptr), static_cast<void (MyQHistoryState::)()>(&MyQHistoryState::Signal_DefaultTransitionChanged)); ^ core.cpp: In function 'void QHistoryState_DefaultTransitionChanged(void)': core.cpp:8614:61: error: no matching function for call to 'QHistoryState::defaultTransitionChanged()' static_cast<QHistoryState*>(ptr)->defaultTransitionChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QHistoryState:1, from core.cpp:70: C:/msys64/mingw64/qt5-static/include/QtCore/qhistorystate.h:78:10: note: candidate: 'void QHistoryState::defaultTransitionChanged(QHistoryState::QPrivateSignal)' void defaultTransitionChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qhistorystate.h:78:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QHistoryState_ConnectHistoryTypeChanged(void*)': core.cpp:8619:126: error: invalid static_cast from type 'void (QHistoryState::)(QHistoryState::QPrivateSignal)' to type'void (QHistoryState::)()' QObject::connect(static_cast<QHistoryState*>(ptr), static_cast<void (QHistoryState::)()>(&QHistoryState::historyTypeChanged), static_cast<MyQHistoryState>(ptr), static_cast<void (MyQHistoryState::)()>(&MyQHistoryState::Signal_HistoryTypeChanged)); ^ core.cpp: In function 'void QHistoryState_DisconnectHistoryTypeChanged(void)': core.cpp:8624:129: error: invalid static_cast from type 'void (QHistoryState::)(QHistoryState::QPrivateSignal)' to type'void (QHistoryState::)()' QObject::disconnect(static_cast<QHistoryState*>(ptr), static_cast<void (QHistoryState::)()>(&QHistoryState::historyTypeChanged), static_cast<MyQHistoryState>(ptr), static_cast<void (MyQHistoryState::)()>(&MyQHistoryState::Signal_HistoryTypeChanged)); ^ core.cpp: In function 'void QHistoryState_HistoryTypeChanged(void)': core.cpp:8629:55: error: no matching function for call to 'QHistoryState::historyTypeChanged()' static_cast<QHistoryState*>(ptr)->historyTypeChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QHistoryState:1, from core.cpp:70: C:/msys64/mingw64/qt5-static/include/QtCore/qhistorystate.h:80:10: note: candidate: 'void QHistoryState::historyTypeChanged(QHistoryState::QPrivateSignal)' void historyTypeChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qhistorystate.h:80:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QObject_ConnectObjectNameChanged(void*)': core.cpp:14421:122: error: invalid static_cast from type 'void (QObject::)(const QString&, QObject::QPrivateSignal)' totype 'void (QObject::)(const QString&)' QObject::connect(static_cast<QObject*>(ptr), static_cast<void (QObject::)(const QString &)>(&QObject::objectNameChanged), static_cast<MyQObject>(ptr), static_cast<void (MyQObject::)(const QString &)>(&MyQObject::Signal_ObjectNameChanged)); ^ core.cpp: In function 'void QObject_DisconnectObjectNameChanged(void)': core.cpp:14426:125: error: invalid static_cast from type 'void (QObject::)(const QString&, QObject::QPrivateSignal)' totype 'void (QObject::)(const QString&)' QObject::disconnect(static_cast<QObject*>(ptr), static_cast<void (QObject::)(const QString &)>(&QObject::objectNameChanged), static_cast<MyQObject>(ptr), static_cast<void (MyQObject::)(const QString &)>(&MyQObject::Signal_ObjectNameChanged)); ^ core.cpp: In function 'void QObject_ObjectNameChanged(void, QtCore_PackedString)': core.cpp:14431:98: error: no matching function for call to 'QObject::objectNameChanged(QString)' static_cast<QObject*>(ptr)->objectNameChanged(QString::fromUtf8(objectName.data, objectName.len)); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/qabstractanimation.h:43, from C:/msys64/mingw64/qt5-static/include/QtCore/QAbstractAnimation:1, from core.cpp:9: C:/msys64/mingw64/qt5-static/include/QtCore/qobject.h:405:10: note: candidate: 'void QObject::objectNameChanged(const QString&, QObject::QPrivateSignal)' void objectNameChanged(const QString &objectName, QPrivateSignal); ^~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qobject.h:405:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QSignalTransition_ConnectSenderObjectChanged(void*)': core.cpp:18624:139: error: invalid static_cast from type 'void (QSignalTransition::)(QSignalTransition::QPrivateSignal)' to type 'void (QSignalTransition::)()' QObject::connect(static_cast<QSignalTransition*>(ptr), static_cast<void (QSignalTransition::)()>(&QSignalTransition::senderObjectChanged), static_cast<MyQSignalTransition>(ptr), static_cast<void (MyQSignalTransition::)()>(&MyQSignalTransition::Signal_SenderObjectChanged)); ^ core.cpp: In function 'void QSignalTransition_DisconnectSenderObjectChanged(void)': core.cpp:18629:142: error: invalid static_cast from type 'void (QSignalTransition::)(QSignalTransition::QPrivateSignal)' to type 'void (QSignalTransition::)()' QObject::disconnect(static_cast<QSignalTransition*>(ptr), static_cast<void (QSignalTransition::)()>(&QSignalTransition::senderObjectChanged), static_cast<MyQSignalTransition>(ptr), static_cast<void (MyQSignalTransition::)()>(&MyQSignalTransition::Signal_SenderObjectChanged)); ^ core.cpp: In function 'void QSignalTransition_SenderObjectChanged(void)': core.cpp:18634:60: error: no matching function for call to 'QSignalTransition::senderObjectChanged()' static_cast<QSignalTransition*>(ptr)->senderObjectChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QSignalTransition:1, from core.cpp:152: C:/msys64/mingw64/qt5-static/include/QtCore/qsignaltransition.h:89:10: note: candidate: 'void QSignalTransition::senderObjectChanged(QSignalTransition::QPrivateSignal)' void senderObjectChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qsignaltransition.h:89:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QSignalTransition_ConnectSignalChanged(void*)': core.cpp:18649:133: error: invalid static_cast from type 'void (QSignalTransition::)(QSignalTransition::QPrivateSignal)' to type 'void (QSignalTransition::)()' QObject::connect(static_cast<QSignalTransition*>(ptr), static_cast<void (QSignalTransition::)()>(&QSignalTransition::signalChanged), static_cast<MyQSignalTransition>(ptr), static_cast<void (MyQSignalTransition::)()>(&MyQSignalTransition::Signal_SignalChanged)); ^ core.cpp: In function 'void QSignalTransition_DisconnectSignalChanged(void)': core.cpp:18654:136: error: invalid static_cast from type 'void (QSignalTransition::)(QSignalTransition::QPrivateSignal)' to type 'void (QSignalTransition::)()' QObject::disconnect(static_cast<QSignalTransition*>(ptr), static_cast<void (QSignalTransition::)()>(&QSignalTransition::signalChanged), static_cast<MyQSignalTransition>(ptr), static_cast<void (MyQSignalTransition::)()>(&MyQSignalTransition::Signal_SignalChanged)); ^ core.cpp: In function 'void QSignalTransition_SignalChanged(void)': core.cpp:18659:54: error: no matching function for call to 'QSignalTransition::signalChanged()' static_cast<QSignalTransition*>(ptr)->signalChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QSignalTransition:1, from core.cpp:152: C:/msys64/mingw64/qt5-static/include/QtCore/qsignaltransition.h:90:10: note: candidate: 'void QSignalTransition::signalChanged(QSignalTransition::QPrivateSignal)' void signalChanged(QPrivateSignal); ^~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qsignaltransition.h:90:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QSocketNotifier_ConnectActivated(void*)': core.cpp:18913:126: error: invalid static_cast from type 'void (QSocketNotifier::)(int, QSocketNotifier::QPrivateSignal)' to type 'void (QSocketNotifier::)(int)' QObject::connect(static_cast<QSocketNotifier*>(ptr), static_cast<void (QSocketNotifier::)(int)>(&QSocketNotifier::activated), static_cast<MyQSocketNotifier>(ptr), static_cast<void (MyQSocketNotifier::)(int)>(&MyQSocketNotifier::Signal_Activated)); ^ core.cpp: In function 'void QSocketNotifier_DisconnectActivated(void)': core.cpp:18918:129: error: invalid static_cast from type 'void (QSocketNotifier::)(int, QSocketNotifier::QPrivateSignal)' to type 'void (QSocketNotifier::)(int)' QObject::disconnect(static_cast<QSocketNotifier*>(ptr), static_cast<void (QSocketNotifier::)(int)>(&QSocketNotifier::activated), static_cast<MyQSocketNotifier>(ptr), static_cast<void (MyQSocketNotifier::)(int)>(&MyQSocketNotifier::Signal_Activated)); ^ core.cpp: In function 'void QSocketNotifier_Activated(void, int)': core.cpp:18923:54: error: no matching function for call to 'QSocketNotifier::activated(int&)' static_cast<QSocketNotifier*>(ptr)->activated(socket); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QSocketNotifier:1, from core.cpp:155: C:/msys64/mingw64/qt5-static/include/QtCore/qsocketnotifier.h:68:10: note: candidate: 'void QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal)' void activated(int socket, QPrivateSignal); ^~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qsocketnotifier.h:68:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QState_ConnectChildModeChanged(void*)': core.cpp:19430:103: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::connect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::childModeChanged), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_ChildModeChanged)); ^ core.cpp: In function 'void QState_DisconnectChildModeChanged(void)': core.cpp:19435:106: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::disconnect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::childModeChanged), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_ChildModeChanged)); ^ core.cpp: In function 'void QState_ChildModeChanged(void)': core.cpp:19440:46: error: no matching function for call to 'QState::childModeChanged()' static_cast<QState*>(ptr)->childModeChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QState:1, from core.cpp:158: C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:114:10: note: candidate: 'void QState::childModeChanged(QState::QPrivateSignal)' void childModeChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:114:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QState_ConnectErrorStateChanged(void*)': core.cpp:19445:104: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::connect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::errorStateChanged), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_ErrorStateChanged)); ^ core.cpp: In function 'void QState_DisconnectErrorStateChanged(void)': core.cpp:19450:107: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::disconnect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::errorStateChanged), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_ErrorStateChanged)); ^ core.cpp: In function 'void QState_ErrorStateChanged(void)': core.cpp:19455:47: error: no matching function for call to 'QState::errorStateChanged()' static_cast<QState*>(ptr)->errorStateChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QState:1, from core.cpp:158: C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:116:10: note: candidate: 'void QState::errorStateChanged(QState::QPrivateSignal)' void errorStateChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:116:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QState_ConnectFinished(void*)': core.cpp:19460:95: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::connect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::finished), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_Finished)); ^ core.cpp: In function 'void QState_DisconnectFinished(void)': core.cpp:19465:98: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::disconnect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::finished), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_Finished)); ^ core.cpp: In function 'void QState_Finished(void)': core.cpp:19470:38: error: no matching function for call to 'QState::finished()' static_cast<QState*>(ptr)->finished(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QState:1, from core.cpp:158: C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:112:10: note: candidate: 'void QState::finished(QState::QPrivateSignal)' void finished(QPrivateSignal); ^~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:112:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QState_ConnectInitialStateChanged(void*)': core.cpp:19475:106: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::connect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::initialStateChanged), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_InitialStateChanged)); ^ core.cpp: In function 'void QState_DisconnectInitialStateChanged(void)': core.cpp:19480:109: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::disconnect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::initialStateChanged), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_InitialStateChanged)); ^ core.cpp: In function 'void QState_InitialStateChanged(void)': core.cpp:19485:49: error: no matching function for call to 'QState::initialStateChanged()' static_cast<QState*>(ptr)->initialStateChanged(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QState:1, from core.cpp:158: C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:115:10: note: candidate: 'void QState::initialStateChanged(QState::QPrivateSignal)' void initialStateChanged(QPrivateSignal); ^~~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:115:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QState_ConnectPropertiesAssigned(void*)': core.cpp:19518:105: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::connect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::propertiesAssigned), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_PropertiesAssigned)); ^ core.cpp: In function 'void QState_DisconnectPropertiesAssigned(void)': core.cpp:19523:108: error: invalid static_cast from type 'void (QState::)(QState::QPrivateSignal)' to type 'void (QState::)()' QObject::disconnect(static_cast<QState*>(ptr), static_cast<void (QState::)()>(&QState::propertiesAssigned), static_cast<MyQState>(ptr), static_cast<void (MyQState::)()>(&MyQState::Signal_PropertiesAssigned)); ^ core.cpp: In function 'void QState_PropertiesAssigned(void)': core.cpp:19528:48: error: no matching function for call to 'QState::propertiesAssigned()' static_cast<QState*>(ptr)->propertiesAssigned(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QState:1, from core.cpp:158: C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:113:10: note: candidate: 'void QState::propertiesAssigned(QState::QPrivateSignal)' void propertiesAssigned(QPrivateSignal); ^~~~~~~~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstate.h:113:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QStateMachine_ConnectStarted(void*)': core.cpp:19802:115: error: invalid static_cast from type 'void (QStateMachine::)(QStateMachine::QPrivateSignal)' to type 'void (QStateMachine::)()' QObject::connect(static_cast<QStateMachine*>(ptr), static_cast<void (QStateMachine::)()>(&QStateMachine::started), static_cast<MyQStateMachine>(ptr), static_cast<void (MyQStateMachine::)()>(&MyQStateMachine::Signal_Started)); ^ core.cpp: In function 'void QStateMachine_DisconnectStarted(void)': core.cpp:19807:118: error: invalid static_cast from type 'void (QStateMachine::)(QStateMachine::QPrivateSignal)' to type 'void (QStateMachine::)()' QObject::disconnect(static_cast<QStateMachine*>(ptr), static_cast<void (QStateMachine::)()>(&QStateMachine::started),static_cast<MyQStateMachine>(ptr), static_cast<void (MyQStateMachine::)()>(&MyQStateMachine::Signal_Started)); ^ core.cpp: In function 'void QStateMachine_Started(void)': core.cpp:19812:44: error: no matching function for call to 'QStateMachine::started()' static_cast<QStateMachine*>(ptr)->started(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QStateMachine:1, from core.cpp:159: C:/msys64/mingw64/qt5-static/include/QtCore/qstatemachine.h:153:10: note: candidate: 'void QStateMachine::started(QStateMachine::QPrivateSignal)' void started(QPrivateSignal); ^~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstatemachine.h:153:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QStateMachine_ConnectStopped(void*)': core.cpp:19827:115: error: invalid static_cast from type 'void (QStateMachine::)(QStateMachine::QPrivateSignal)' to type 'void (QStateMachine::)()' QObject::connect(static_cast<QStateMachine*>(ptr), static_cast<void (QStateMachine::)()>(&QStateMachine::stopped), static_cast<MyQStateMachine>(ptr), static_cast<void (MyQStateMachine::)()>(&MyQStateMachine::Signal_Stopped)); ^ core.cpp: In function 'void QStateMachine_DisconnectStopped(void)': core.cpp:19832:118: error: invalid static_cast from type 'void (QStateMachine::)(QStateMachine::QPrivateSignal)' to type 'void (QStateMachine::)()' QObject::disconnect(static_cast<QStateMachine*>(ptr), static_cast<void (QStateMachine::)()>(&QStateMachine::stopped),static_cast<MyQStateMachine>(ptr), static_cast<void (MyQStateMachine::)()>(&MyQStateMachine::Signal_Stopped)); ^ core.cpp: In function 'void QStateMachine_Stopped(void)': core.cpp:19837:44: error: no matching function for call to 'QStateMachine::stopped()' static_cast<QStateMachine*>(ptr)->stopped(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QStateMachine:1, from core.cpp:159: C:/msys64/mingw64/qt5-static/include/QtCore/qstatemachine.h:154:10: note: candidate: 'void QStateMachine::stopped(QStateMachine::QPrivateSignal)' void stopped(QPrivateSignal); ^~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qstatemachine.h:154:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QThread_ConnectFinished(void*)': core.cpp:21904:98: error: invalid static_cast from type 'void (QThread::)(QThread::QPrivateSignal)' to type 'void (QThread::)()' QObject::connect(static_cast<QThread*>(ptr), static_cast<void (QThread::)()>(&QThread::finished), static_cast<MyQThread>(ptr), static_cast<void (MyQThread::)()>(&MyQThread::Signal_Finished)); ^ core.cpp: In function 'void QThread_DisconnectFinished(void)': core.cpp:21909:101: error: invalid static_cast from type 'void (QThread::)(QThread::QPrivateSignal)' to type 'void (QThread::)()' QObject::disconnect(static_cast<QThread*>(ptr), static_cast<void (QThread::)()>(&QThread::finished), static_cast<MyQThread>(ptr), static_cast<void (MyQThread::)()>(&MyQThread::Signal_Finished)); ^ core.cpp: In function 'void QThread_Finished(void)': core.cpp:21914:39: error: no matching function for call to 'QThread::finished()' static_cast<QThread*>(ptr)->finished(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QThread:1, from core.cpp:175: C:/msys64/mingw64/qt5-static/include/QtCore/qthread.h:148:10: note: candidate: 'void QThread::finished(QThread::QPrivateSignal)' void finished(QPrivateSignal); ^~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qthread.h:148:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QThread_ConnectStarted(void*)': core.cpp:21984:97: error: invalid static_cast from type 'void (QThread::)(QThread::QPrivateSignal)' to type 'void (QThread::)()' QObject::connect(static_cast<QThread*>(ptr), static_cast<void (QThread::)()>(&QThread::started), static_cast<MyQThread>(ptr), static_cast<void (MyQThread::)()>(&MyQThread::Signal_Started)); ^ core.cpp: In function 'void QThread_DisconnectStarted(void)': core.cpp:21989:100: error: invalid static_cast from type 'void (QThread::)(QThread::QPrivateSignal)' to type 'void (QThread::)()' QObject::disconnect(static_cast<QThread*>(ptr), static_cast<void (QThread::)()>(&QThread::started), static_cast<MyQThread>(ptr), static_cast<void (MyQThread::)()>(&MyQThread::Signal_Started)); ^ core.cpp: In function 'void QThread_Started(void)': core.cpp:21994:38: error: no matching function for call to 'QThread::started()' static_cast<QThread*>(ptr)->started(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QThread:1, from core.cpp:175: C:/msys64/mingw64/qt5-static/include/QtCore/qthread.h:147:10: note: candidate: 'void QThread::started(QThread::QPrivateSignal)' void started(QPrivateSignal); ^~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qthread.h:147:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QTimeLine_ConnectFinished(void*)': core.cpp:22419:104: error: invalid static_cast from type 'void (QTimeLine::)(QTimeLine::QPrivateSignal)' to type 'void (QTimeLine::)()' QObject::connect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)()>(&QTimeLine::finished), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)()>(&MyQTimeLine::Signal_Finished)); ^ core.cpp: In function 'void QTimeLine_DisconnectFinished(void)': core.cpp:22424:107: error: invalid static_cast from type 'void (QTimeLine::)(QTimeLine::QPrivateSignal)' to type 'void (QTimeLine::)()' QObject::disconnect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)()>(&QTimeLine::finished), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)()>(&MyQTimeLine::Signal_Finished)); ^ core.cpp: In function 'void QTimeLine_Finished(void)': core.cpp:22429:41: error: no matching function for call to 'QTimeLine::finished()' static_cast<QTimeLine*>(ptr)->finished(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QTimeLine:1, from core.cpp:178: C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:127:10: note: candidate: 'void QTimeLine::finished(QTimeLine::QPrivateSignal)' void finished(QPrivateSignal); ^~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:127:10: note: candidate expects 1 argument, 0 provided core.cpp: In function 'void QTimeLine_ConnectFrameChanged(void*)': core.cpp:22434:111: error: invalid static_cast from type 'void (QTimeLine::)(int, QTimeLine::QPrivateSignal)' to type 'void (QTimeLine::)(int)' QObject::connect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)(int)>(&QTimeLine::frameChanged), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)(int)>(&MyQTimeLine::Signal_FrameChanged)); ^ core.cpp: In function 'void QTimeLine_DisconnectFrameChanged(void)': core.cpp:22439:114: error: invalid static_cast from type 'void (QTimeLine::)(int, QTimeLine::QPrivateSignal)' to type 'void (QTimeLine::)(int)' QObject::disconnect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)(int)>(&QTimeLine::frameChanged), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)(int)>(&MyQTimeLine::Signal_FrameChanged)); ^ core.cpp: In function 'void QTimeLine_FrameChanged(void, int)': core.cpp:22444:50: error: no matching function for call to 'QTimeLine::frameChanged(int&)' static_cast<QTimeLine*>(ptr)->frameChanged(frame); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QTimeLine:1, from core.cpp:178: C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:125:10: note: candidate: 'void QTimeLine::frameChanged(int, QTimeLine::QPrivateSignal)' void frameChanged(int, QPrivateSignal); ^~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:125:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QTimeLine_ConnectStateChanged(void*)': core.cpp:22534:124: error: invalid static_cast from type 'void (QTimeLine::)(QTimeLine::State, QTimeLine::QPrivateSignal)' to type 'void (QTimeLine::)(QTimeLine::State)' QObject::connect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)(QTimeLine::State)>(&QTimeLine::stateChanged), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)(QTimeLine::State)>(&MyQTimeLine::Signal_StateChanged)); ^ core.cpp: In function 'void QTimeLine_DisconnectStateChanged(void)': core.cpp:22539:127: error: invalid static_cast from type 'void (QTimeLine::)(QTimeLine::State, QTimeLine::QPrivateSignal)' to type 'void (QTimeLine::)(QTimeLine::State)' QObject::disconnect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)(QTimeLine::State)>(&QTimeLine::stateChanged), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)(QTimeLine::State)>(&MyQTimeLine::Signal_StateChanged)); ^ core.cpp: In function 'void QTimeLine_StateChanged(void, long long int)': core.cpp:22544:84: error: no matching function for call to 'QTimeLine::stateChanged(QTimeLine::State)' static_cast<QTimeLine*>(ptr)->stateChanged(static_castQTimeLine::State(newState)); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QTimeLine:1, from core.cpp:178: C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:126:10: note: candidate: 'void QTimeLine::stateChanged(QTimeLine::State, QTimeLine::QPrivateSignal)' void stateChanged(QTimeLine::State newState, QPrivateSignal); ^~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:126:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QTimeLine_ConnectValueChanged(void*)': core.cpp:22569:113: error: invalid static_cast from type 'void (QTimeLine::)(qreal, QTimeLine::QPrivateSignal)' {aka 'void (QTimeLine::)(double, QTimeLine::QPrivateSignal)'} to type 'void (QTimeLine::)(qreal)' {aka 'void (QTimeLine::)(double)'} QObject::connect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)(qreal)>(&QTimeLine::valueChanged), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)(qreal)>(&MyQTimeLine::Signal_ValueChanged)); ^ core.cpp: In function 'void QTimeLine_DisconnectValueChanged(void)': core.cpp:22574:116: error: invalid static_cast from type 'void (QTimeLine::)(qreal, QTimeLine::QPrivateSignal)' {aka 'void (QTimeLine::)(double, QTimeLine::QPrivateSignal)'} to type 'void (QTimeLine::)(qreal)' {aka 'void (QTimeLine::)(double)'} QObject::disconnect(static_cast<QTimeLine*>(ptr), static_cast<void (QTimeLine::)(qreal)>(&QTimeLine::valueChanged), static_cast<MyQTimeLine>(ptr), static_cast<void (MyQTimeLine::)(qreal)>(&MyQTimeLine::Signal_ValueChanged)); ^ core.cpp: In function 'void QTimeLine_ValueChanged(void, double)': core.cpp:22579:50: error: no matching function for call to 'QTimeLine::valueChanged(double&)' static_cast<QTimeLine*>(ptr)->valueChanged(value); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QTimeLine:1, from core.cpp:178: C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:124:10: note: candidate: 'void QTimeLine::valueChanged(qreal, QTimeLine::QPrivateSignal)' void valueChanged(qreal x, QPrivateSignal); ^~~~~~~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qtimeline.h:124:10: note: candidate expects 2 arguments, 1 provided core.cpp: In function 'void QTimer_ConnectTimeout(void*)': core.cpp:23035:94: error: invalid static_cast from type 'void (QTimer::)(QTimer::QPrivateSignal)' to type 'void (QTimer::)()' QObject::connect(static_cast<QTimer*>(ptr), static_cast<void (QTimer::)()>(&QTimer::timeout), static_cast<MyQTimer>(ptr), static_cast<void (MyQTimer::)()>(&MyQTimer::Signal_Timeout)); ^ core.cpp: In function 'void QTimer_DisconnectTimeout(void)': core.cpp:23040:97: error: invalid static_cast from type 'void (QTimer::)(QTimer::QPrivateSignal)' to type 'void (QTimer::)()' QObject::disconnect(static_cast<QTimer*>(ptr), static_cast<void (QTimer::)()>(&QTimer::timeout), static_cast<MyQTimer>(ptr), static_cast<void (MyQTimer::)()>(&MyQTimer::Signal_Timeout)); ^ core.cpp: In function 'void QTimer_Timeout(void)': core.cpp:23045:37: error: no matching function for call to 'QTimer::timeout()' static_cast<QTimer*>(ptr)->timeout(); ^ In file included from C:/msys64/mingw64/qt5-static/include/QtCore/QTimer:1, from core.cpp:180: C:/msys64/mingw64/qt5-static/include/QtCore/qtimer.h:164:10: note: candidate: 'void QTimer::timeout(QTimer::QPrivateSignal)' void timeout(QPrivateSignal); ^~~~~~~ C:/msys64/mingw64/qt5-static/include/QtCore/qtimer.h:164:10: note: candidate expects 1 argument, 0 provided

    time="2018-10-13T16:21:25+08:00" level=info msg="installing full qt/androidextras"

    install 386 no error,I tried a lot of QT static versions, all the same errors under x64.

  • Webview sample code

    Webview sample code

    Using the sample code to run the idea for webkit based view fails.

    package main
    
    import (
    	"os"
    
    	"github.com/therecipe/qt/core"
    	"github.com/therecipe/qt/webengine"
    	"github.com/therecipe/qt/widgets"
    )
    
    const htmlData = `<!DOCTYPE html>
    <html>
    <body>
    
    <div id="div1">
    <p id="p1">This is a paragraph.</p>
    <p id="p2">This is another paragraph.</p>
    </div>
    
    </body>
    </html>`
    
    const jsData = `var para = document.createElement("p");
    var node = document.createTextNode("This is new.");
    para.appendChild(node);
    
    var element = document.getElementById("div1");
    element.appendChild(para);`
    
    func main() {
    	widgets.NewQApplication(len(os.Args), os.Args)
    
    	var window = widgets.NewQMainWindow(nil, 0)
    
    	var centralWidget = widgets.NewQWidget(nil, 0)
    	centralWidget.SetLayout(widgets.NewQVBoxLayout())
    
    	var view = webengine.NewQWebEngineView(nil)
    	view.SetHtml(htmlData, core.NewQUrl())
    	centralWidget.Layout().AddWidget(view)
    
    	var button = widgets.NewQPushButton2("click me", nil)
    	button.ConnectClicked(func(checked bool) {
    		view.Page().RunJavaScript4(jsData)
    	})
    	centralWidget.Layout().AddWidget(button)
    
    	window.SetCentralWidget(centralWidget)
    	window.Show()
    
    	widgets.QApplication_Exec()
    }
    
    

    The code above blows up with the following error on linux:

    Could not initialize GLX
    SIGABRT: abort
    PC=0x7f75aee237ef m=0 sigcode=18446744073709551610
    signal arrived during cgo execution
    
    goroutine 1 [syscall, locked to thread]:
    runtime.cgocall(0x4bdcb0, 0xc420051eb0, 0x4af89c)
    	/home/influx6/Labs/local/src/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc420051e70 sp=0xc420051e30
    github.com/therecipe/qt/widgets._Cfunc_QApplication_NewQApplication(0x7fff00000001, 0x225a970, 0x0)
    	github.com/therecipe/qt/widgets/_obj/_cgo_gotypes.go:362 +0x4e fp=0xc420051eb0 sp=0xc420051e70
    github.com/therecipe/qt/widgets.NewQApplication(0x1, 0xc420010200, 0x1, 0x1, 0x0)
    	/home/influx6/Labs/repos/go/src/github.com/therecipe/qt/widgets/widgets-minimal.go:664 +0xcb fp=0xc420051f28 sp=0xc420051eb0
    main.main()
    	/home/influx6/Labs/repos/go/src/github.com/gu-io/qt/qt.go:31 +0x55 fp=0xc420051f88 sp=0xc420051f28
    runtime.main()
    	/home/influx6/Labs/local/src/go/src/runtime/proc.go:185 +0x20a fp=0xc420051fe0 sp=0xc420051f88
    runtime.goexit()
    	/home/influx6/Labs/local/src/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420051fe8 sp=0xc420051fe0
    
    goroutine 17 [syscall, locked to thread]:
    runtime.goexit()
    	/home/influx6/Labs/local/src/go/src/runtime/asm_amd64.s:2197 +0x1
    
    rax    0x0
    rbx    0x2353f80
    rcx    0x7f75aee237ef
    rdx    0x0
    rdi    0x2
    rsi    0x7fff401f1320
    rbp    0x7fff401f16e0
    rsp    0x7fff401f1398
    r8     0x0
    r9     0x7fff401f1320
    r10    0x8
    r11    0x246
    r12    0x2353fb0
    r13    0x2271e30
    r14    0x0
    r15    0x2271e30
    rip    0x7f75aee237ef
    rflags 0x246
    cs     0x33
    fs     0x0
    gs     0x0
    

    System details

    go version go1.8 linux/amd64
    GOARCH="amd64"
    GOBIN=""
    GOEXE=""
    GOHOSTARCH="amd64"
    GOHOSTOS="linux"
    GOOS="linux"
    GOPATH="/home/influx6/Labs/repos/go"
    GORACE=""
    GOROOT="/home/influx6/Labs/local/src/go"
    GOTOOLDIR="/home/influx6/Labs/local/src/go/pkg/tool/linux_amd64"
    GCCGO="gccgo"
    CC="gcc"
    GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build262106640=/tmp/go-build -gno-record-gcc-switches"
    CXX="g++"
    CGO_ENABLED="1"
    PKG_CONFIG="pkg-config"
    CGO_CFLAGS="-g -O2"
    CGO_CPPFLAGS=""
    CGO_CXXFLAGS="-g -O2"
    CGO_FFLAGS="-g -O2"
    CGO_LDFLAGS="-g -O2"
    GOROOT/bin/go version: go version go1.8 linux/amd64
    GOROOT/bin/go tool compile -V: compile version go1.8 X:framepointer
    uname -sr: Linux 4.8.0-37-generic
    Distributor ID:	Ubuntu
    Description:	Ubuntu 16.10
    Release:	16.10
    Codename:	yakkety
    /lib/x86_64-linux-gnu/libc.so.6: GNU C Library (Ubuntu GLIBC 2.24-3ubuntu2) stable release version 2.24, by Roland McGrath et al.
    gdb --version: GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git
    
  • Setting custom roles on QAbstractListModel

    Setting custom roles on QAbstractListModel

    Thanks for your great work on this library! Curious if there's a way to set custom roles on a QAbstractListModel. I don't see the roleNames() function exposed?

    I'm trying figure out how to use a list of golang structs in QML ListView. Very similar to this example. However, I'd like the data() function to support custom roles rather than just the default "display" role.

    Here's some psuedo code for what I'm trying to do:

    type Person struct {
        First string
        Last  string
    }
    
    var list = arraylist.New()
    list.Add(&Person{First: "jane", Last: "doe"})
    
    var model = core.NewQAbstractListModel(nil)
    model.ConnectData(data)
    model.ConnectRowCount(rowCount)
    view.RootContext().SetContextProperty("PersonModel", model)
    
    func rowCount(parent *core.QModelIndex) int {
        return list.Size()
    }
            
    func data(index *core.QModelIndex, role int) *core.QVariant {
        // XXX Want role == "first" and role == "last" here
        if role == 0 && index.IsValid() {
        }
    }
    

    And the QML:

    import QtQuick 2.0
    
    ListView {
        model: PersonModel
        delegate: Text {
            text: first + "  " + last
        }
    }
    

    How do I expose the first and last properties from go to QML? I thought of using the data() function on the QAbstractListModel and defining custom roles "first" and "last" but doesn't seem to be way to do that? Is there another way to go about this?

    Thanks in advance for any pointers.

  • 'argcs' was not declared in this scope

    'argcs' was not declared in this scope

    Hi,

    I have tried to build a static version and now I see such error:

    github.com/therecipe/qt/gui

    ........\gui\gui-minimal.cpp: In function 'void* QGuiApplication_NewQGuiApplication(int, char*)': ........\gui\gui-minimal.cpp:131:31: error: 'argcs' was not declared in this scope return new MyQGuiApplication(argcs, argvs);

  • On OSX / VSCode,

    On OSX / VSCode, "Go to Definition" not working for me

    i am using VSCode on OSX.

    i remember reading something about how to get QT golang to work with finding references. I use VSCode, and when i right click on an object and choose "Go to Definition", nothing happens. Mhh... Would be nice and make it quicker for me :)

    i have the full QT 5.7 installed, rather than using brew. I think that is one of the prerequisites to have "go to definition" to work ?

    Any ideas ?

    https://github.com/therecipe/qt/issues/90 ?

  • Linux qtsetup - filed to run command

    Linux qtsetup - filed to run command

    Hello, I stardet from the begining and qtsetup ... threw an error

    $GOPATH/bin/qtsetup
    INFO[0000] running: 'qtsetup prep'                      
    INFO[0000] successfully created qtrcc symlink in your PATH (/usr/local/bin/qtrcc) 
    INFO[0000] successfully created qtmoc symlink in your PATH (/usr/local/bin/qtmoc) 
    INFO[0000] successfully created qtminimal symlink in your PATH (/usr/local/bin/qtminimal) 
    INFO[0000] successfully created qtdeploy symlink in your PATH (/usr/local/bin/qtdeploy) 
    INFO[0000] running: 'qtsetup check desktop'             
    INFO[0000] GOOS:                        'linux'         
    INFO[0000] GOARCH:                      'amd64'         
    INFO[0000] GOVERSION:                   'go1.7.4'       
    INFO[0000] GOROOT:                      '/usr/lib/go-1.7' 
    INFO[0000] GOPATH:                   *  '/home/tobik/Buhvico/Programovani/go' 
    INFO[0000] GOBIN:                       '/home/tobik/Buhvico/Programovani/go/bin' 
    INFO[0000] QT_HASH:                     'b47d2addd409f2c2b359a5eb77c7cca46946fe1a' 
    INFO[0000] QT_VERSION:               *  '5.7.1'         
    INFO[0000] QT_VERSION_MAJOR:            '5.7'           
    INFO[0000] QT_DIR:                   *  '/home/tobik/Buhvico/Apps/Qt' 
    INFO[0000] QT_STUB:                  *  'true'          
    INFO[0000] QT_DEBUG:                    'false'         
    INFO[0000] QT_DISTRO:                   'ubuntu'        
    INFO[0000] QT_PKG_CONFIG:               'false'         
    INFO[0000] running: 'qtsetup generate desktop'          
    ERRO[0010] failed to load /home/tobik/Buhvico/Apps/Qt/Docs/Qt-5.7/qtspeech/qtspeech.index  error="open /home/tobik/Buhvico/Apps/Qt/Docs/Qt-5.7/qtspeech/qtspeech.index: no such file or directory"
    WARN[0010] parser.LoadModule                             0_module=Speech error=EOF
    INFO[0010] generating stub qt/core                      
    INFO[0012] generating stub qt/androidextras             
    INFO[0012] generating stub qt/gui                       
    INFO[0014] generating stub qt/network                   
    INFO[0014] generating stub qt/xml                       
    INFO[0015] generating stub qt/dbus                      
    INFO[0015] generating stub qt/nfc                       
    INFO[0015] generating stub qt/script                    
    INFO[0015] generating stub qt/sensors                   
    INFO[0015] generating stub qt/positioning               
    INFO[0015] generating stub qt/widgets                   
    INFO[0021] generating stub qt/sql                       
    INFO[0021] generating stub qt/qml                       
    INFO[0021] generating stub qt/websockets                
    INFO[0021] generating stub qt/xmlpatterns               
    INFO[0021] generating stub qt/bluetooth                 
    INFO[0022] generating stub qt/webchannel                
    INFO[0022] generating stub qt/svg                       
    INFO[0022] generating stub qt/multimedia                
    INFO[0023] generating stub qt/quick                     
    INFO[0023] generating stub qt/help                      
    INFO[0024] generating stub qt/location                  
    INFO[0024] generating stub qt/scripttools               
    INFO[0024] generating stub qt/uitools                   
    INFO[0024] generating stub qt/x11extras                 
    INFO[0024] generating stub qt/webengine                 
    INFO[0024] generating stub qt/testlib                   
    INFO[0024] generating stub qt/serialport                
    INFO[0024] generating stub qt/serialbus                 
    INFO[0024] generating stub qt/printsupport              
    INFO[0024] generating stub qt/designer                  
    INFO[0025] generating stub qt/scxml                     
    INFO[0025] generating stub qt/gamepad                   
    INFO[0025] generating stub qt/purchasing                
    INFO[0025] generating stub qt/datavisualization         
    INFO[0025] generating stub qt/charts                    
    INFO[0026] generating stub qt/speech                    
    INFO[0026] generating stub qt/quickcontrols2            
    INFO[0026] generating stub qt/sailfish                  
    INFO[0026] generating stub qt/webview                   
    INFO[0026] running: 'qtsetup install desktop'           
    INFO[0026] installing stub qt/core                      
    INFO[0031] installing stub qt/androidextras             
    ERRO[0031] failed to run command                         cmd="go install -p 4 -v github.com/therecipe/qt/androidextras" env= error="exit status 2" func=RunCmdOptionalError name="install androidextras"
    github.com/therecipe/qt/androidextras
    # github.com/therecipe/qt/androidextras
    could not determine kind of name for C.free
    
    INFO[0031] installing stub qt/gui                       
    INFO[0037] installing stub qt/network                   
    INFO[0039] installing stub qt/xml                       
    INFO[0040] installing stub qt/dbus                      
    INFO[0041] installing stub qt/nfc                       
    INFO[0041] installing stub qt/script                    
    INFO[0042] installing stub qt/sensors                   
    INFO[0044] installing stub qt/positioning               
    INFO[0045] installing stub qt/widgets                   
    INFO[0107] installing stub qt/sql                       
    INFO[0111] installing stub qt/qml                       
    INFO[0112] installing stub qt/websockets                
    INFO[0113] installing stub qt/xmlpatterns               
    INFO[0114] installing stub qt/bluetooth                 
    INFO[0115] installing stub qt/webchannel                
    INFO[0115] installing stub qt/svg                       
    INFO[0117] installing stub qt/multimedia                
    INFO[0128] installing stub qt/quick                     
    INFO[0131] installing stub qt/help                      
    INFO[0134] installing stub qt/location                  
    INFO[0135] installing stub qt/scripttools               
    INFO[0136] installing stub qt/uitools                   
    INFO[0138] installing stub qt/x11extras                 
    INFO[0139] installing stub qt/webengine                 
    INFO[0142] installing stub qt/testlib                   
    INFO[0145] installing stub qt/serialport                
    INFO[0146] installing stub qt/serialbus                 
    INFO[0147] installing stub qt/printsupport              
    INFO[0152] installing stub qt/designer                  
    INFO[0155] installing stub qt/scxml                     
    INFO[0156] installing stub qt/gamepad                   
    INFO[0156] installing stub qt/purchasing                
    INFO[0157] installing stub qt/datavisualization         
    INFO[0158] installing stub qt/charts                    
    INFO[0163] installing stub qt/speech                    
    INFO[0163] installing stub qt/quickcontrols2            
    INFO[0163] installing stub qt/sailfish                  
    ERRO[0163] failed to run command                         cmd="go install -p 4 -v github.com/therecipe/qt/sailfish" env= error="exit status 2" func=RunCmdOptionalError name="install sailfish"
    github.com/therecipe/qt/sailfish
    # github.com/therecipe/qt/sailfish
    could not determine kind of name for C.free
    
    INFO[0163] installing stub qt/webview                   
    ERRO[0163] failed to install the following 2 package(s): 
    ERRO[0163] androidextras                                
    ERRO[0163] sailfish                                     
    ERRO[0163] you may want to run 'qtsetup install desktop' if you depend on these package(s) 
    INFO[0163] running: 'qtsetup test desktop'              
    INFO[0163] testing qml/application                      
    INFO[0178] testing qml/drawer_nav_x                     
    INFO[0198] testing qml/gallery                          
    INFO[0211] testing quick/calc                           
    INFO[0223] testing widgets/line_edits                   
    INFO[0239] testing widgets/pixel_editor                 
    INFO[0259] testing widgets/textedit  
    

    I tryed to google that error "could not determine kind of name for C.free" but i didnt find anything what would help me.

    Cheers, Huho

  • How Build and Install QT on Go 1.8?

    How Build and Install QT on Go 1.8?

    Hello, i want use QML in Go. my os is ubuntu 16.10-64bit, and also i have qt creator.

    https://github.com/go-qml/qml/issues/180 at this issues , say me then i first need to install github.com/go-qml/qml.

    How Build and Install QT on Go 1.8?

    please help me. tank you. :+1:

  • your application encountered a fatal error and cannot continue

    your application encountered a fatal error and cannot continue

    i have installed stub version on ubuntu 16.04 (vm).

    when i run app on android 4.2.2 (armv7-a) it shows your application encountered a fatal error and cannot continue logcat

    E/linker  (18405): find_library(linker.cpp:901): "/data/app-lib/org.qtproject.example.go-1/libgo_base.so" failed to load previously
    E/dalvikvm(18405): dlopen("/data/app-lib/org.qtproject.example.go-1/libgo_base.so") failed: Cannot load library: find_library(linker.cpp:901): "/data/app-lib/org.qtproject.example.go-1/libgo_base.so" failed to load previously
    

    (no problem on desktop build.)

    edit: same result on windows with full install. works fIne if i use qt creator's cpp example

  • Msys2 windows installation + webkit

    Msys2 windows installation + webkit

    Can i install webkit with msys2? I cant use regular installation due to #376. I tried pacman -S mingw-w64-x86_64-qtwebkit and copying webkit files to empty folder like C:\Qt\Qt5.8.0\mingw53_32 and C:\msys64\mingw64\qt5-static but still no luck:

    time="2017-06-28T21:59:01+03:00" level=error msg="failed to run command" cmd="C:\msys64\mingw64\qt5-static\bin\qmake C:\Users\averr_000\Documents\go\src\github.com\therecipe\qt\webkit.pro -spec win32-g++ CONFIG+=release" env= error="exite="run qmake for windows on windows"
    Info: creating stash file C:\Users\averr_000\Documents\go\src\github.com\therecipe\qt\webkit\.qmake.stash
    Project ERROR: Unknown module(s) in QT: webkit webkitwidgets
    
  • Build against Qt libs shipped by system

    Build against Qt libs shipped by system

    In the build process, a default, "vendored" Qt install is required for use.

    I believe the build system should support probing the system for its own Qt library if given an appropiate flag to do so.

    This would allow for transparently sharing a single Qt version in systems where the library is obtainable through its package manager, and specially for those that split Qt into many folders (and packages).

    The info needed can be provided with the pkg-config tool:

    $ pkg-config --cflags --libs Qt5Core
    -I/usr/include/qt/QtCore -I/usr/include/qt -lQt5Core
    
  • Question :

    Question : " Go get therecipe/qt "

    Hi Thereceipe,

    It could be a nice feature to be able to do a "go get" like with most golang project / library. I am not an expert and don t know anything about Docker. Maybe my question is out of focus...

    What I love with go it is its simplicity, at the core of it. Things like "go get" is super powerful & Works out of the box. Asking people to install and learn Docker (even if it is simple), is raising the bar to get in your project.

    Sorry for creating directly a bug, I don t think there is a forum for it.

  • android APK crashes when launched

    android APK crashes when launched

    I made an APK file by using qtdeploy build android with the example project at %GOPATH%\src\github.com\therecipe\examples\deploy\android, and then install it on my device or several AVD,but alway crashes when executed! I tried to changed my env settings, but it dosent wok! It is will be fine if I create a APK with QTCreator and its examples, so maybe is correct of my QT env !

    Here my env , please help me, thank you very much!

    GOOS: 'windows' GOARCH: 'arm' GOVERSION: 'go1.18.4' GOROOT: 'C:\Program Files\Go' GOPATH: 'C:\Users\12305\go' GOBIN: 'C:\Users\12305\go\bin' GOMOD: '' QT_HASH: 'c0c124a5770d357908f16fa57e0aa0ec6ccd3f91' QT_API: '5.13.0' QT_VERSION: '5.13.0' QT_DIR: 'D:\Qt\Qt5.13.0' QT_STUB: 'false' QT_DEBUG: 'true' QT_QMAKE_DIR: 'D:\Qt\Qt5.13.0\5.13.0\android_armv7\bin' QT_WEBKIT: 'false' QT_STATIC: 'false' QT_GEN_GO: 'false' QT_GEN_OPENGL: 'false' QT_GEN_QUICK_EXTRAS: 'false' QT_RESOURCES_BIG: 'false' QT_NOT_CACHED: 'false' JDK_DIR: 'C:\jdk8u352-b08' ANDROID_SDK_DIR: 'C:\Users\12305\AppData\Local\Android\Sdk' ANDROID_NDK_DIR: 'C:\Users\12305\AppData\Local\Android\Sdk\ndk\18.1.5063045' ANDROID_NDK_PLATFORM: 'android-28' CGO_CFLAGS_ALLOW: '.' CGO_CXXFLAGS_ALLOW: '.' CGO_LDFLAGS_ALLOW: '.*'

  • /usr/bin/ld: i386 architecture of input file `/tmp/go-link-3590783856/000000.o' is incompatible with i386:x86-64 output

    /usr/bin/ld: i386 architecture of input file `/tmp/go-link-3590783856/000000.o' is incompatible with i386:x86-64 output

    my go env:

    GO111MODULE="on" GOARCH="amd64" GOBIN="" GOCACHE="/home/amdin/.cache/go-build" GOENV="/home/amdin/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/home/amdin/Desktop/gopath/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/home/amdin/Desktop/gopath" GOPRIVATE="" GOPROXY="https://goproxy.io,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.19.1" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/home/amdin/Desktop/gopath/src/ccb.iot.agent/go.mod" GOWORK="" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build2366368413=/tmp/go-build -gno-record-gcc-switches"

  • Issue with using *QFileDialog.SelectedFiles(),

    Issue with using *QFileDialog.SelectedFiles(), "interface conversion: interface {} is []interface {}, not []string"

    The Issue I'm trying to get the directories selected when using QFileDialog but I keep getting the following error: panic: interface conversion: interface {} is []interface {}, not []string

    goroutine 20 [running]:
    github.com/therecipe/qt/widgets.(*QFileDialog).SelectedFiles(0x0?)
            C:/Users/_/go/pkg/mod/github.com/therecipe/[email protected]/widgets/widgets.go:13192 +0x15e
    main.main.func1(0x0)
            D:/junk/qt-test/window.go:52 +0x70
    reflect.Value.call({0x1967000?, 0xc000008828?, 0x1ee2040?}, {0x1bcaf82, 0x4}, {0xc0002104b0, 0x1, 0xd514a5?})
            C:/Program Files/Go/src/reflect/value.go:584 +0x8c5
    reflect.Value.Call({0x1967000?, 0xc000008828?, 0xc000200330?}, {0xc0002104b0?, 0x1953d40?, 0x0?})
            C:/Program Files/Go/src/reflect/value.go:368 +0xbc
    github.com/therecipe/qt/internal.handleCallback({0xc000116606, 0x22})
            C:/Users/_/go/pkg/mod/github.com/therecipe/[email protected]/internal/internal.go:73 +0x2fd
    github.com/therecipe/qt/internal.asyncCallbackHandler({0xc000116606?, 0x0?})
            C:/Users/_/go/pkg/mod/github.com/therecipe/[email protected]/internal/internal.go:109 +0x1e
    created by github.com/therecipe/qt/internal.InitProcess.func3
            C:/Users/_a/go/pkg/mod/github.com/therecipe/[email protected]/internal/internal.go:407 +0xf5
    

    I don't even know if this library is recieving maintenance anymore, but if it is I'd like to know if it's an issue with my code or the library itself

    The code

    	widget := widgets.NewQWidget(nil, 0)
    	widget.SetLayout(widgets.NewQHBoxLayout())
    	mw.MainWin.SetCentralWidget(widget)
    
    	input := widgets.NewQLineEdit(nil)
    	input.SetPlaceholderText("Insert path...")
    	widget.Layout().AddWidget(input)
    
    	fileDialog := widgets.NewQFileDialog2(nil, "Select file", ".", "")
    	fileDialog.SetFileMode(widgets.QFileDialog__Directory)
    
    	button := widgets.NewQPushButton2("Search folders", nil)
    	button.SetMaximumSize2(50, 50)
    	button.ConnectClicked(func(bool) {
    		widgets.QMessageBox_Information(nil, "OK", input.Text(), widgets.QMessageBox__Ok, widgets.QMessageBox__Ok)
    		if fileDialog.Exec() == 1 {
    			files := fileDialog.SelectedFiles()
    			fmt.Printf("V: %v", files)
    		}
    	})
    	widget.Layout().AddWidget(button)
    

    The error always happens at when .SelectedFiles() is called.

  • deploying linux to windows build fail with newqwebengineview. thanks for your help

    deploying linux to windows build fail with newqwebengineview. thanks for your help

    cmd: qtdeploy -docker build windows_64_static ./main.go:117:13: undefined: webengine.NewQWebEngineView. it works in cmd: qtdeploy build desktop. it works without QwebEngineView.

    go version go1.17.6 linux/amd64 centos7 have no idea

  • Hello! I have a problem

    Hello! I have a problem

    E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/libavcodec57_3.4.11-0ubuntu0.1_amd64.deb Connection failed [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libb/libbluray/libbluray2_1.0.2-3_amd64.deb Connection failed [IP: 91.189.91.38 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/c/chromaprint/libchromaprint1_1.4.3-1_amd64.deb Connection failed [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/game-music-emu/libgme0_0.6.2-1_amd64.deb Connection failed [IP: 91.189.91.38 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mpg123/libmpg123-0_1.25.10-1_amd64.deb Connection failed [IP: 185.125.190.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libv/libvorbis/libvorbisfile3_1.3.5-4.2_amd64.deb Connection failed [IP: 91.189.91.39 80] E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/libo/libopenmpt/libopenmpt0_0.3.6-1_amd64.deb Connection failed [IP: 185.125.190.36 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libs/libssh/libssh-gcrypt-4_0.8.0~20170825.94fa1e38-1ubuntu0.7_amd64.deb Connection failed [IP: 91.189.91.39 80] E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/universe/f/ffmpeg/libavformat57_3.4.11-0ubuntu0.1_amd64.deb Connection failed [IP: 185.125.190.36 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? The command '/bin/sh -c apt-get --no-install-recommends -qq -y install libqt5-dev qt5-dev qt*5-doc-html' returned a non-zero code: 100

A utility library to make use of the X Go Binding easier. (Implements EWMH and ICCCM specs, key binding support, etc.)

xgbutil is a utility library designed to work with the X Go Binding. This project's main goal is to make various X related tasks easier. For example,

Dec 10, 2022
Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.

go-flutter - A package that brings Flutter to the desktop Purpose Flutter allows you to build beautiful native apps on iOS and Android from a single c

Jan 9, 2023
Wg-android - Android GUI for WireGuard

Android GUI for WireGuard Download from the Play Store This is an Android GUI fo

Feb 10, 2022
An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.

ExampleTrayGUI An example cross-platform (Mac, Windows, Linux) system tray application that can launch HTML5 windows, developed in Go including functi

Dec 3, 2022
An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.

ExampleTrayGUI An example cross-platform (Mac, Windows, Linux) system tray application that can launch HTML5 windows, developed in Go including functi

Dec 3, 2022
An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.

An example cross-platform (Mac, Windows, Linux) system tray application that can launch HTML5 windows, developed in Go including functional build process. This repository is intended as a quick reference to help others start similar projects using the referenced libraries and will not be actively maintained.

Dec 3, 2022
An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.

ExampleTrayGUI An example cross-platform (Mac, Windows, Linux) system tray application that can launch HTML5 windows, developed in Go including functi

Dec 3, 2022
Zenity dialogs for Golang, Windows, macOS

Zenity dialogs for Golang, Windows and macOS This repo includes both a cross-platform Go package providing Zenity-like dialogs (simple dialogs that in

Dec 31, 2022
W32find - Find parent windows and their children windows using win32api.

w32find Package w32find provides a set of interface to win32 APIs that can be used to find windows and their controls. Install go get -v github.com/mo

Jan 5, 2022
Proof-of-concept Windows-like clipboard manager for Linux in Go

Goclip Simple Windows-like clipboard manager for linux. This application is just a proof-of-concept and might be highly unstable. Features Clipboard t

Jan 28, 2022
A package to build progressive web apps with Go programming language and WebAssembly.
A package to build progressive web apps with Go programming language and WebAssembly.

go-app is a package to build progressive web apps (PWA) with Go programming language and WebAssembly. It uses a declarative syntax that allows creatin

Dec 28, 2022
Qt binding for Go (Golang) aims get Go's compile speed again.

qt.go Qt5 binding for Go (Golang) without CGO that aims to achieve Go's native compile speeds. Instead of using common bindings and heavy C++ wrapper

Dec 19, 2022
Go binding for GTK
Go binding for GTK

go-gtk WHATS Go bindings for GTK SCREENSHOT INSTALL You can experiment with go-gtk by running the various example programs: git clone https://github.c

Jan 5, 2023
The X Go Binding is a low-level API to communicate with the X server. It is modeled on XCB and supports many X extensions.

Note that this project is largely unmaintained as I don't have the time to do or support more development. Please consider using this fork instead: ht

Dec 29, 2022
Simple QML binding for Go

Qamel Qamel is a simple QML binding for Go, heavily inspired by therecipe/qt. This package only binds Qt's classes that used for creating a simple QML

Jan 3, 2023
SDL2 binding for Go

SDL2 binding for Go go-sdl2 is SDL2 wrapped for Go users. It enables interoperability between Go and the SDL2 library which is written in C. That mean

Dec 30, 2022
Tiny cross-platform webview library for C/C++/Golang. Uses WebKit (Gtk/Cocoa) and Edge (Windows)

webview A tiny cross-platform webview library for C/C++/Golang to build modern cross-platform GUIs. Also, there are Rust bindings, Python bindings, Ni

Dec 28, 2022
Windows GUI library for Go (Golang). Comes with a graphical UI designer.

Version 2 Please go to Version 2 of this library for the latest version. Windows GUI Library This is a pure Go library to create native Windows GUIs.

Jan 1, 2023
Golang bindings for XCGUI, Windows GUI library, DirectUI design idea.
Golang bindings for XCGUI, Windows GUI library, DirectUI design idea.

XCGUI 项目文档 帮助文档 程序示例 介绍 English | 简体中文 DirectUI设计思想: 在窗口内没有子窗口,界面元素都是逻辑上的区域(无HWND句柄,安全,灵活), 所有UI元素都是自主开发(不受系统限制), 更加灵活的实现各种程序界面,满足不同用户的需求.

Dec 22, 2022