New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created a Qt 5 port for solvespace (would like to provide source) #1406
Comments
@shingen75 how did you port it? I do not see a fork in your GitHub account? If you provide a link to your fork or create a pull request we can look at your port. |
@shingen75 The approach should be to create a new file "guiqt.cpp" in the platform folder. QT should only be used as a GUI on Linux, and only as an option with the default being GTK. As ruevs said, create a fork, make a branch for your QT stuff and let us know when it's ready or create a PR. I'm curious.
|
I was wondering the same, but decided to take it a step at a time. |
@ruevs |
@phkahler With regard to your questions :
Also I would recommend that the USE_QT_GUI should be used as a way to allow a developer to use Qt as an option for both Windows and Linux. Qt is a cross platform toolkit and they the solvespace Qt port in implemented allows for solvespace to run in Qt mode in both Linux and Windows. I myself also like the original solvespace windows option since it is lighter and does not require any extra dll files and I do not think it should be replaced. But rather, giving a developer various options can be beneficial by allowing them to use Qt for both Windows and Linux if the developer is looking to use solvespace user interface into an existing Qt application. I am not looking to be an active developer but rather thought I would contribute the work I have since it was based on the great work you guys have done so far if you see it can be of benefit. Thank You |
No problem :-) Here are some official GitHub documents on the topic of pull requests: |
Hi @phkahler and @ruevs |
I see you have the fork uploaded on GitHub! When you're ready, you can make a pull request from your fork @shingen75: Select "compare across forks" so you can make a pull request from your repo into this repo On the right side, select your copy of solvespace on GitHub, with the changes you made. In the description, you should reference this issue (Just type in |
Hello, I've created a repository which fixes a few things things in the shingen75 repo. This has been rebased on your current master. I'd like to replace the XML settings with QSettings, cleanup the whitespace, and fix a bug where some widget is being drawn in the menu. Is there anything else that needs to be done to get the Qt port merged into your repo.? |
The From what I've just read it seems that the way you've implemented it it'll store the settings in Since the QT port will not be the "main" version on any of the platforms the above is not critical, but it would be nice if we at least tested/ensured that on macOS and Windows the settings are interchangeable/compatible between the native and QT versions. So in my view to do:
|
I'll open a pull request when I track down that errant menu widget, but as I don't use Mac, Windows, or GitHub CI someone else will have to look at the items you mention. |
I could test on mac arm/intel and win10 but earliest in two months (ish). |
The unknown widget turns out to be a scroll bar which is not fully implemented. So there are two types of Windows, TOPLEVEL & TOOL, but do they actually both have a vertical scroll bar & a menu bar? Or does only TOOL need a scroll bar and only TOPLEVEL need the menus? |
System information
I have ported the solvespace user interface to Qt and I have tested all the basic functionality and I believe everything works correctly.
I have updated the CMakefiles and added an option to build in Qt mode (USE_QT_GUI). An additional library tiny2xml ( added to the
extlib and referenced using extlib/tinyxml2/CMakeLists.txt when in Qt mode) was used to save/load the configuration file solvspace.conf (preserve the settings). I was wondering if it would be possible to provide you with the Qt code.
The text was updated successfully, but these errors were encountered: