Comments (4)
I don't use QtCreator, but maybe this helps: OpenHantek/openhantek#203
from openhantek6022.
How do you compile the code? I was just using QtCreator because I saw it has being used in the original OpenHantek page.
from openhantek6022.
For Linux it is just the easy way, open the source files in an editor of choice, in my case kate (Linux / KDE editor) or kdevelop (Linux / KDE IDE).
And then as written in the build instructions:
mkdir build
cd build
cmake ../
make -j2
For Windows (as well as MacOSX and Linux for deployment) I don't build anything on my own, it is done by the CI tools appveyor (Windows) and travis (Linux, MacOSX), please have a look at the script and the build log for Windows. The configuration is managed by the tool CMake (as in the original openhantek).
set qtpath64="C:\Qt\5.11\msvc2015_64"
set arch64=x64
set dir64=build_x64
md %dir64%
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %arch64%
cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_PREFIX_PATH=%qtpath64% -DCMAKE_BUILD_TYPE=%configuration% -B%dir64% -H.
from openhantek6022.
QtCreator: Do not import the project, just open the project, i.e. the CmakeLists.txt
in the project's top directory. QtCreator will parse this file and create a project. Select the build directory accordingly and you're done.
Quick googling found this page: How to import CMake project in Qt Creator.
A quick test on my debian system looked similar but I didn't have time to follow this topic as I don't want to use another IDE/editor - I'm just happy with console / mc / mcedit for small single file edits, kate for larger edits on multiple files and kdevelop as an IDE with project integration; the last two share the same editor component with identical look'n'feel.
Nevertheless the import into kdevelop ran smoothly and reflects all classes and declaration-definition links etc. Also makefile creation (automatically via cmake ../
and build (after defining make -j2
as build command) work. git and github integration was not yet tested.
from openhantek6022.
Related Issues (20)
- Low image quality on exports HOT 22
- Improve versioning releases
- Building on Apple M1 silicon HOT 4
- Hantek 6254BD support HOT 1
- No graphics output - windows 10 3.3.2.2 HOT 7
- Program stops on Windows 11 when changing horizontal time base (In demo mode and connected with 6022BE) HOT 14
- MacOS Monterey Firmware Upload Error HOT 5
- QObject::setParent: Cannot set parent, new parent is in a different thread HOT 3
- Failed to open main window with error. QOpenGLFunctions created with non-current context HOT 2
- unable to install HOT 2
- Changing timebase crashes HOT 3
- Pausing roll mode HOT 1
- 32bit version
- [Q] Calibration HOT 5
- Add a new device: Hantek 1070 HOT 1
- No traces seen under v3.3.3 HOT 4
- 'Version' field value 'devdrop-3.3.3-22-g1c3a681-dirty': version number does not start with digit HOT 2
- I want to print 1 or 0 on the bottom of each wave form HOT 2
- Build doesn't work on macOS 13 HOT 1
- Horizontal greyed out HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhantek6022.