Skip to content
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

Create a Window-Based GUI #61

Open
frankmorgner opened this issue Oct 13, 2015 · 6 comments
Open

Create a Window-Based GUI #61

frankmorgner opened this issue Oct 13, 2015 · 6 comments

Comments

@frankmorgner
Copy link
Collaborator

  • should be usable with Test_nPAClientLib and SimpleClient
  • should use a portable GUI, e.g. qt5 or wxWidgets

Some implementation hints:
You may use the interface which already is defined in https://github.com/BeID-lab/eIDClientCore/blob/master/eIDClientCore/bin/Test_nPAClientLib/eidui_cli.h. These callbacks can be implemented by a shared library, which would make the UI interchangable...

@olerichter00
Copy link
Collaborator

I've tried to use QT for the GUI, but it seems to be too complicated. The problem is that QT is not designed for using it as a library in a non-QT-project (a project which is not build with qmake, like the SimpleClient).
https://wiki.qt.io/How_to_create_a_library_with_Qt_and_use_it_in_an_application

From now on I'm gonna try to build the gui with wxWidgets. It's probably easier to integrate into the SimpleClient.

@frankmorgner
Copy link
Collaborator Author

@frankmorgner
Copy link
Collaborator Author

There is also http://tsunanet.net/autotroll/

@frankmorgner
Copy link
Collaborator Author

But the wxWidgets might work equally well...

@olerichter00
Copy link
Collaborator

In the end I ran into trouble with the makros used in qt to export functions while building the qt-gui as a library. To build a qt-project with automake i'ts possible to just execute qmake in a makefile.

wxWidgets looks way easier to integrate into the SimpleClient and to compile with g++. And it's also a cross-platform gui library.

@frankmorgner
Copy link
Collaborator Author

OK good, it's your choice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants