Skip to main content

News

Topic: QtSphere IDE (working title) 0.2.3 (Read 2293 times) previous topic - next topic

Re: QtSphere IDE (working title) 0.2.3
Reply #45
I can just ship the source code with a macOS build of QScintilla as with Windows, but I don't have a mac anymore.

  • Rhuan
  • [*]
  • Verified
Re: QtSphere IDE (working title) 0.2.3
Reply #46
I really should learn how make files work... I built QScintilla but can't manage to get QtSphere IDE to link to it :(

Re: QtSphere IDE (working title) 0.2.3
Reply #47
Did you build it statically or dynamically? Truth be told, I eventually want to replace it with my own widget based on QTextEdit, but that's not high on my priority list.

  • Rhuan
  • [*]
  • Verified
Re: QtSphere IDE (working title) 0.2.3
Reply #48

Did you build it statically or dynamically? Truth be told, I eventually want to replace it with my own widget based on QTextEdit, but that's not high on my priority list.
I built it dynamically, probably should be static?

But I couldn't work out the right instruction to put in to the makefile so QtCreator could find it when trying to build QTSphere IDE. (I've never learnt how to do makefiles manually)

Re: QtSphere IDE (working title) 0.2.3
Reply #49
I guess it's supposed to be statically linked then. To be honest, I'm really not very familiar with figuring out linking like this, and QSscintilla is a pain in the ass to set up anyway, hence the desire for a better widget. As much as I'd rather not, if the damn text/source editor is causing this much trouble, I may have to temporarily put off the fun graphics stuff.
Serves me right for trying to take the easy way out :P
  • Last Edit: July 02, 2017, 07:55:55 am by Eggbert

Re: QtSphere IDE (working title) 0.2.3
Reply #50
Also, QScintilla's source editor doesn't seem to play nicely with non-ASCII input.
  • Last Edit: July 02, 2017, 08:27:19 am by Eggbert

  • Rhuan
  • [*]
  • Verified
Re: QtSphere IDE (working title) 0.2.3
Reply #51
Well I've built it static and still no joy.

I either get Library not found errors or I get "No rule to make target `QtSphereIDE.o'."

Re: QtSphere IDE (working title) 0.2.3
Reply #52
Yeah, I don't care if it's my fault, this isn't worth the trouble.

  • Rhuan
  • [*]
  • Verified
Re: QtSphere IDE (working title) 0.2.3
Reply #53
Well for now as a result of the above I've actually turned to using QTcreator as my sphere IDE - all I really need right now is something to edit multiple script files in.

I was tired of the oddities of working with wine for the old Sphere IDE and xcode wasn't ideal for a few reasons. QTCreator seems to have a great text editor and does good JS highlighting and stuff :)

Re: QtSphere IDE (working title) 0.2.3
Reply #54
I've mostly been using Visual Studio Code for JavaScript, GIMP for raw images, and the 1.x IDE for converting those images into Spritesets/Maps.
I'm having weird issues with resources in the resource files being ignored by QSI despite showing up fine in Qt Creator, but as soon as I figure that stuff out, I can finally move on.

Also, if you've never tried Visual Studio Code, I highly recommend it. It uses Electron, the same engine as Github Atom, but it feels much more snappy. I never thought I'd be singing the praises of a Microsoft product over something else, but it's a great text editor/lightweight IDE.