Git Product home page Git Product logo

Comments (6)

geissdoerfer avatar geissdoerfer commented on June 11, 2024

Same configuration and same issue for me. Apparently there's some buggy threading. If i try to change some settings (AC/DC):
QObject: Cannot create children for a parent that is in a different thread. (Parent is Hantek::Control(0x1c37960), parent's thread is QThread(0x1a2fdb0), current thread is Hantek::Control(0x1c37960)

from openhantek.

davidgraeff avatar davidgraeff commented on June 11, 2024

The current GUI is written in pure c++ and therefore not very maintenance friendly. I'm working on a successor written in a declarative style and with the current technology (Qt QML) in the other branch but still on holiday at the moment :)

from openhantek.

OliverHaag avatar OliverHaag commented on June 11, 2024

The threading issue and the GUI issue seem to be unrelated on first sight to me. I agree with David though - best wait for the QML rewrite and recheck both issues then.
Back in the Qt 4 times pure C++ was the best way to do it imo but nowadays I would also use QML since it's just much easier maintainable. Most probably some things have changed with Qt 5 (Guess Qt 5 was used, but this wasn't specified in the reports).

from openhantek.

geissdoerfer avatar geissdoerfer commented on June 11, 2024

Ah okay i thought it was related, as for me the functionality is also affected and it kind of looked like the GUI elements could not communicate with control parts. Haven't had a closer look though tbh. Also i'm not sure about which Qt i was actually using, will check and try both. Anyway @davidgraeff, had a look into your branch and it looks very promising 👍 The killer feature for me would be a clean programmatic interface, that i can wrap for matlab/python

from openhantek.

cskau avatar cskau commented on June 11, 2024

I ran into the same issue a couple days ago, and I went in an created a fix for at least part of the issue in this PR:
#11

I do not think this is related to threading.

from openhantek.

davidgraeff avatar davidgraeff commented on June 11, 2024

In my setup this problem is fixed, please open another issue if it is not for you.

from openhantek.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.