Giter Site home page Giter Site logo

Comments (21)

perdrix52 avatar perdrix52 commented on August 15, 2024

The code is so deeply tied to the MFC and GDI+ that the answer has to be no (unless you feel you can handle this)?

from dss.

theDiverDK avatar theDiverDK commented on August 15, 2024

I would love to help, but unfortunately i have not been working with MFC or gdi+ since many years ago.

Have been doing fullstack web development for years.

from dss.

JamesMolson avatar JamesMolson commented on August 15, 2024

I could do this, but would the current maintainers be ok with the vast level of changes required to make it more platform generic?

from dss.

wornish avatar wornish commented on August 15, 2024

I am sure it would be well received.

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

from dss.

avarakin avatar avarakin commented on August 15, 2024

I think the easier route would be to use Wine. I tried DSS under wine many years ago and it almost worked.

from dss.

michalsc avatar michalsc commented on August 15, 2024

I have been using DSS with wine long time ago with some minor results. It was working more or less but it was much more pleasant to switch to a windows machine instead.

I think porting to multiplatform toolkit like Qt would be a huge effort, most likely not feasible for a single person. But I am also pretty sure if you would agree on that, in form of a fork with subsequent pull requests or separate branch in main repository, then it would be possible to form a small team of Qt developers doing it.

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

I'm actively looking at this again ... I've ordered a book on Qt.

This will not happen in the upcoming release, but the one after that and it will take time.

D.

from dss.

michalsc avatar michalsc commented on August 15, 2024

@perdrix52 let me know if you need any help on Qt. I have been using this toolkit in several projects already.

from dss.

michalsc avatar michalsc commented on August 15, 2024

@perdrix52 I have downloaded vs2017 and opened the dss project there. Now, since I see all dialogs there, I could create the corresponding dialogs in Qt5. How about that? I would work on my forked version of DSS: https://github.com/michalsc/DSS/tree/Qt-gui and eventually send pull requests from there. How about that?

from dss.

michalsc avatar michalsc commented on August 15, 2024

in https://github.com/michalsc/DSS/tree/Qt-gui/qt directory you can find the AskRegistering dialog as an example of how things could be done in Qt5. The dialog consists of an .ui file, generated by the designer and compiled automatically by qt and typical header and cpp file as it is in case of MFC too. The dialog is fully functioning and selecting one of registering option sets the m_Result accordingly. The m_Result is read the same was as in case of MFC dialog - through AskRegistering::GetAction() method. The dialog looks like this (macOS, dark theme):

https://imgur.com/VJrdK0V

Please note the translations can be added later, all strings in ui are automatically passed through QCoreApplication::translate() method. We also don't need html library of any kind since Qt labels support quite usable subset of HTML tags.

Shall I continue?

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

Hi Michael, thanks - Ive just installed Qt 5.12.8 (latest of the LTS version) - OpenSource.

I'm trying to work out how to convert my VS2017 project to be able to use Qt with it - I'm sure it will be easy but so far ... (see my post on the Qt Forum under handle Perdrix).

Once I've got that worked out, I'll replace the use of the CRegistry class with Qsettings in the Workspace. I'm not quite sure right now whether to instantiate a QApplication instance in the existing WinMain or what?

I thought I'd invited you to our Slack? If so can we continue this there, as that's where all the DSS devs hang out.

David

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

If it wasn't you I invited please let me know your email and full name and I'll invite you

from dss.

michalsc avatar michalsc commented on August 15, 2024

I haven't noticed invitation yet. please send it to michal (dot) schulz (at) gmx (dot) de. Once I receive it I will reedit this message ;)

from dss.

avarakin avatar avarakin commented on August 15, 2024

I tried running latest DSS under wine but it crashes as soon it starts stacking.
Looking forward to trying out QT based version.

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

from dss.

pludov avatar pludov commented on August 15, 2024

I am using DSS under linux/wine : The command line version works fine so far. The UI often loose some settings so I mostly use it to understand the dssfilelist format.

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

I don't have a clue about Wine, so I can't help you

from dss.

danielpox avatar danielpox commented on August 15, 2024

Any updates on this?

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

from dss.

perdrix52 avatar perdrix52 commented on August 15, 2024

On completion of Qt migration this will be possible

from dss.

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.