上传者: hanshihao1336295654
|
上传时间: 2021-09-03 11:06:32
|
文件大小: 59KB
|
文件类型: DOC
This is a simple Qt app that can do transfers over USB.
Prerequisites
1. Download Qt from http://qt-project.org/downloads. Make sure to specifically download
Qt x.y.z for Windows (MinGW 4.8.2, OpenGL)
2. The installer comes with MinGW but if it doesn’t, then download it from http://www.mingw.org/
3. The SuperSpeed USB Suite from Cypress. You will also need the source code for CyAPI.lib as we’ll need to recompile it
Compiling CyAPI
The C++ USB API from Cypress needs to be recompiled with MinGW before we use it to build our project. Extract the source code to a folder and then run the following in a command prompt:
set PATH=%PATH%;C:\Qt\Tools\mingw482_32\bin
mingw32-make %
And this requires a Makefile with the following contents:
all: