Author Topic: qtFRED: What is it and can I eat it?  (Read 1846 times)

0 Members and 1 Guest are viewing this topic.

Offline PVD_Hope

  • 29
  • A Typhon-class destroyer.
Re: qtFRED: What is it and can I eat it?
This is great! Looking forward to using qtFRED some years down the road. :)
This signature is under construction. You can check out my minimod! Lost

Have a look at my eBay page, where I sell Legos and things to raise money for myself and for the Polaris Project!

Here's my Zazzle store! I make a small commission on everything sold here. And here's my Bandcamp!

 

Offline Axem

  • Administrator
  • 211
Re: qtFRED: What is it and can I eat it?
Oh my... I imagined FREDing in the future FRED as described by that document and I about died with excitement. Yes. All of that.

The problem is that at the moment qtFRED is a straight port of FRED. All that's changed is the interface. So if anything was impossible before because of MFC, then it might be possible to change it (CTRL + whatever is an example of that sort of thing. I did look into it a while back and could never get it to work despite the fact I seemed to be doing everything the MFC documentation told me to do). If the problem is that you'd have to rewrite large sections of FRED, then that's not going to be fixed simply by moving to qt.

Well I mean the document is really just a pie-in-the-sky wishlist without any thought or concern as how easy/possible it is. Definitely qtFRED should be brought up to par before any major changes are done, but it's still fun to dream and think about what features would be nice.

For ages whenever I asked for some alteration in FRED (even if it was resizing a few windows), I always got "let's wait until we have cross-platform FRED running before we change anything", so I hope you'll excuse me that 10 years of belated requests get suddenly posted. :cool:

 

Online m!m

  • 211
Re: qtFRED: What is it and can I eat it?
One thing qtFRED actually does differently from FRED is that all the dialogs and windows use proper dynamic layouts which means that resizing them is actually possible now. So, at least that can be added to the "more or less done"-list of the FRED wishlist document :p

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: qtFRED: What is it and can I eat it?
Well I mean the document is really just a pie-in-the-sky wishlist without any thought or concern as how easy/possible it is. Definitely qtFRED should be brought up to par before any major changes are done, but it's still fun to dream and think about what features would be nice.

And that's fine. I just wanted to make sure that people understood that qtFRED is just the first step towards some of the things on that list rather than actually being about making things on that list happen.

I like the list, but let's remember that cross-platform FRED is a huge benefit to the SCP in and of itself. Obviously we can now attract more FREDders who use Linux and Mac. Less obviously, we can now attract coders from those two platforms. In the past Taylor has commented that better coders than him were turned off the SCP because they felt it was too Windows specific. And I think anyone who remembers the sheer volume of changes Taylor made should realise that is a massive loss.

« Last Edit: March 13, 2018, 09:08:00 pm by karajorma »
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Anims: 420, Cutscenes: 10, Mainhalls: 7, Logos: 52
    • Steam
    • Twitter
    • Mix-Hai Productions
Re: qtFRED: What is it and can I eat it?
Oh I completely understand that.
Cutscene Upgrade Project - Mainhall Remakes - MixaelANITools - Between the Ashes - MjnMixael's Render Boutique - Mix-Hai Productions
Youtube Channel - P3D Model Box - Photobucket Albums - Model Releases - Downloads
Between the Ashes is looking for committed testers, PM me for details.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!

 
Re: qtFRED: What is it and can I eat it?
Well that are veryy good news than :)

 

Offline PIe

  • 27
  • GTVA POLICE
    • freespace3.com
Re: qtFRED: What is it and can I eat it?
I'd like qtFRED 3000AD er... procedurally generated, high fidelity, high realism, $5000 JPEGs of qtFRED er...
One basic feature (which I will add to the doc) is for the event editor to not ask if I want to save changes if I close it without actually having done anything.
[6:23 PM] PIe: why do I have the feeling that I shouldn't be able to give orders to 22nd armored hq
[6:24 PM] Axem: 22nd armored hq, i order you to get me a cup of coffee
[6:24 PM] PIe: and donuts
[6:24 PM] PIe: BECAUSE THIS IS THE GTVA POLICE
[6:25 PM] Axem: :O
[6:25 PM] Axem: am i under arrest
[6:26 PM] [`_`]/: no, just please step out of the myrmidon
[6:26 PM] [`_`]/: you have so much to fred for

 
Re: qtFRED: What is it and can I eat it?
Heh I've been half tempted to crowdfund Ryan Gordon to work on the FS2 Fred port.... I can't program in QT worth a damn, I only know gtk/gtkmm and I'm a bad programmer. Hit me up if you need testing on Linux though...
wrong answer you see hiding in that asteroid belt are 6 dralthi fighters, a Kilrathi gangbang. -Devereaux

 

Offline DahBlount

  • 29
  • Alpine ☆ Cancer Tribulation
    • Minecraft
    • Skype
    • Steam
Re: qtFRED: What is it and can I eat it?
If anyone wants to offer help, someone on Mac OS would be great actually, considering neither myself nor m!m have a Mac.
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: qtFRED: What is it and can I eat it?
I have Macs!  I even have one I could offer up remote access to, that I pretty much only use for FSO anyway.  And I don't mind attempting to test things regularly if that would be useful.  Just wasn't sure that was needed or was in a state it'd be expected to work yet.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: qtFRED: What is it and can I eat it?


Code: [Select]
brew install qt
cmake -GXcode -DCMAKE_BUILD_TYPE=Debug -DFSO_BUILD_QTFRED=ON -DCMAKE_PREFIX_PATH=$(brew --prefix qt) ../
xcodebuild -configuration Debug

Have not tested with the official Qt installer version yet, didn't feel like creating an account.  There may be a simpler way to have it find the qt install, or a way to make it not require any special settings with a change to the cmake code, not sure.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline ngld

  • 29
Re: qtFRED: What is it and can I eat it?
You can skip the account step in Qt's installer IIRC.
"brew link qt" might help CMake detect Qt correctly but you should only use that if you don't already have an official Qt installation.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: qtFRED: What is it and can I eat it?
How did I miss that skip button?  Oh well.  I may try that one out.  Tried forcing the qt linking, ended up with an error other than 'qt not found' though.

Code: [Select]

CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
  The imported target "Qt5::Core" references the file

     "/usr/local/.//mkspecs/macx-clang"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:50 (_qt5_Core_check_file_exists)
  /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:167 (include)
  /usr/local/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:83 (find_package)
  /usr/local/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:83 (find_package)
  /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
  qtfred/CMakeLists.txt:11 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/cliff.gordon/fs2_open/build/CMakeFiles/CMakeOutput.log".
See also "/Users/cliff.gordon/fs2_open/build/CMakeFiles/CMakeError.log".

I will try the Qt installer version and see what happens, although I still suspect we'll need custom built libraries for a distributed build.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: qtFRED: What is it and can I eat it?
Ok, sorry for the off topic post but I have to know what those icons between System Preferences and Chrome are in your dock chief1983?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: qtFRED: What is it and can I eat it?
Discord (you aren't on our Discord server?), HipChat (work), Sequel Pro (MySQL client for work), and PyCharm (Python IDE for work).
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 
Re: qtFRED: What is it and can I eat it?
Ah, you professional and employed programmers…

Actually any programmer…

Are all CRAZY!!!!...

But, thank you.

I do enjoy and benefit from your labor and just because programming for me is like getting my fingernails pulled off my fingers…

Doesn’t mean I don’t appreciate and respect what you do, and sometimes wish I could help. In my limited free time these days I sometimes think I could help and get a little farther each time, usually until it hurts.

 

Online m!m

  • 211
Re: qtFRED: What is it and can I eat it?
Small development update here. I finished porting the 1200 lines of code required to get the SEXP tree context menu to work. It should now support all the features of the standard FRED except adding and modifying variables since those operations require new dialogs.

 

Online m!m

  • 211
Re: qtFRED: What is it and can I eat it?
Since there is actually something to test now I compiled some test builds: http://swc.fs2downloads.com/builds/test/qtFRED/
Only the Windows builds contain qtFRED since our CI is not configured for building Linux or Mac bundles of qtFRED yet.

The notable thing about these builds is (as mentioned above) that the SEXP tree and its context menu should be mostly done now. Please test if they work correctly and are actually doing what you expect them to do.
qtFRED will respect the mod options just like FSO and FRED does so you don't need to configure anything special.

 
Re: qtFRED: What is it and can I eat it?
I just compiled the Linux qtFred and ran it. This is brilliant, been waiting for a Linux native FRED since the Linux port of Freespace 2 got made. Thanks to PCS2 already running on Linux it should now be possible to create entire mod campaigns and art from start to finish on Linux. Been waiting 10 years for this. Thanks to everyone involved.
« Last Edit: April 07, 2018, 07:57:50 pm by Darkmage »
wrong answer you see hiding in that asteroid belt are 6 dralthi fighters, a Kilrathi gangbang. -Devereaux

 

Online m!m

  • 211
Re: qtFRED: What is it and can I eat it?
There has been some activity surrouding qtFRED in the past few days. jg18 is working on adding a working fiction viewer dialog and has added the GUI forms for the background editor, the shield system and the voice acting editor. niffiwan has been working on the Asteroid Field editor dialog and I finished porting the code for the event editor dialog to qtFRED. It should now be fully functional so please take a look at that.

Test builds are available here: http://swc.fs2downloads.com/builds/test/qtFRED/