Author Topic: Qt IDE  (Read 2586 times)

Offline ColinThomas

  • Newcomer
  • Posts: 13
Qt IDE
« on: 2019 May 06 04:05:55 »
Hi,

I have used Qt before, and Qt Creator is very good as an IDE for finding class members and create Qt widgets.

I am interested in getting to grips with pixinsght at a scripting level, but the class definitions seem daunting and the idea of an IDE helping out seems logical.

As pixinsight is built upon Qt, is there a way of setting up Qt creator for pixinsight development ? If not, does anyone use another IDE to help learning class definitions/ coding ?

I look forward to your guidance.

clear skies

Colin

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Qt IDE
« Reply #1 on: 2019 June 03 01:43:13 »
Hi Colin,

Sorry for the late response.

Quote
As pixinsight is built upon Qt, is there a way of setting up Qt creator for pixinsight development ?

From the perspective of script and module development, PixInsight does not depend on any particular graphics or application development library.

While the PixInsight core application is being developed and built around Qt, none of our development frameworks, including PCL/C++ and PJSR/JavaScript, use Qt at a high level. This is a design principle of PixInsight since the beginning (since 2004 at least). For example, if tomorrow I decide to stop using Qt and start using another graphical framework for PixInsight's user interface, say the Skia Graphics Engine (just an example), nothing would change in the source code of any of our modules or scripts; everything would continue working without changes, or in very special cases, with just minimal, cosmetic-only changes. Please note that this is just a theoretical case description; you can rest assured that we'll continue using Qt internally in the foreseeable future; the probability of a change in this direction is currently zero.

So a Qt-based graphical UI design and/or integrated development environment tool, such as Qt Creator, is not applicable to PixInsight development. Needless to say, it would be extremely nice to have something like this integrated with our development platform, but we are currently very far away from the possibility of investing the required resources to build it.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline ColinThomas

  • Newcomer
  • Posts: 13
Re: Qt IDE
« Reply #2 on: 2019 June 03 10:35:48 »
Hi Juan,

Many thanks for getting back: appreciated.

Any pointers to videos on getting started to GUI/script editing would be gratefully received  :smiley:

best regards

Colin

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Qt IDE
« Reply #3 on: 2019 June 04 01:52:48 »
I am not currently working in any module, but a couple of years ago I tried to write one. The main problem was having to reverse engineer other modules in order to discover how did they work. It would have been a big help having a two page document describing the architecture of the classes (processes, instances, interface, parameters) and their interactions.