- Open the project's
Properties
panel - Go to the
C++
section, thenCommandline
- Add this for all platforms and configurations:
/Zc:twoPhase-
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\_gh\DeepSpeech-master\DeepSpeech-master>python --version | |
Python 3.6.6 | |
C:\_gh\DeepSpeech-master\DeepSpeech-master>pip --version | |
pip 18.0 from c:\program files\python36\lib\site-packages\pip (python 3.6) | |
C:\_gh\DeepSpeech-master\DeepSpeech-master>pip install deepspeech | |
Collecting deepspeech | |
Could not find a version that satisfies the requirement deepspeech (from versions: ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef DELAY_H | |
#define DELAY_H | |
#include <chrono> | |
#include <thread> | |
class Delay | |
{ | |
private: | |
Delay(){}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* From author RogerB: https://www.codeproject.com/script/membership/view.aspx?mid=716667 | |
* Code source article: https://www.codeproject.com/articles/7968/messagebox-with-a-timeout-for-net | |
* Licensing: https://www.codeproject.com/info/cpol10.aspx | |
*/ | |
using System; | |
using System.Text; | |
using System.Runtime.InteropServices; | |
using System.Security.Permissions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
// == MOUSE ACTIONS == | |
// Uses absolute coords where the primary display starts at 0,0 | |
// That works well with enumerated monitors structures and their reported coords. | |
#define SET_MOUSE_MOVE mip.mi.dwFlags = MOUSEEVENTF_ABSOLUTE | MOUSEEVENTF_MOVE; | |
#define SET_MOUSE_RCLICK_HOLD mip.mi.dwFlags = MOUSEEVENTF_RIGHTDOWN; | |
#define SET_MOUSE_RCLICK_RELEASE mip.mi.dwFlags = MOUSEEVENTF_RIGHTUP; | |
#define SET_MOUSE_LCLICK_HOLD mip.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; | |
#define SET_MOUSE_LCLICK_RELEASE mip.mi.dwFlags = MOUSEEVENTF_LEFTUP; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QCoreApplication> | |
#include <QDebug> | |
#include <QFile> | |
int main(int argc, char *argv[]) | |
{ | |
QCoreApplication a(argc, argv); | |
qDebug() << "Folder is detected as file?" << QFile::exists("C:/config.folder"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QGuiApplication> | |
#include <QScreen> | |
#include <Qpixmap> | |
#include <QDebug> | |
int main(int argc, char *argv[]) | |
{ | |
QGuiApplication a(argc, argv); | |
QList<QScreen *> screens = QGuiApplication::screens(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Screen 0 : | |
height: 1080 | |
width: 1920 | |
rect: QRect(0,0 1920x1080) | |
size: QSize(1920, 1080) | |
cacheKey: 4294968376 | |
depth: 32 | |
isQBitmap: false | |
isNull: false | |
defaultDepth: 32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Screen 0 : | |
height: 1080 | |
width: 1920 | |
rect: QRect(0,0 1920x1080) | |
size: QSize(1920, 1080) | |
cacheKey: 4294968376 | |
depth: 32 | |
isQBitmap: false | |
isNull: false | |
defaultDepth: 32 |