Git Product home page Git Product logo

Comments (2)

mbruel avatar mbruel commented on May 10, 2024

Well, I'm not sure how to help with that...
It's kind of the desired behaviour.
I first developed ngPost to be pure CMD thus you wouldn't have this issue.
Then upon request and to get more visibility I've developed a simple GUI.
I was first maintaining a macro USE_HMI to be able to compile in pure non GUI version but I removed it as I was finding it a bit useless.

So basically, if you launch ngPost without any arguments (or just double click on it from a desktop environment) then it opens the app in graphical mode (creating a QAppilcation and a MainWidow)
However, if you launch it with at least one argument (--help, -v...) it would then be a pure non GUI application so it can run on servers without any server X.

As there is no point to launch it on server without arguments, I'm not sure this is really an issue.
I get you, it's not clean, but it's have one executable that would both run pure CMD and graphically ;)

Let me know what you think, please close the issue if your cool with that.

from ngpost.

sanderjo avatar sanderjo commented on May 10, 2024

With the self-compiled version, the output is cleaner and no core dump:

sander@brixit:~/git/ngPost/src$ ./ngPost 
qt.qpa.screen: QXcbConnection: Could not connect to display 
Could not connect to any X display.

... that's looks quite nice.

from ngpost.

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.