discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep Windows MSVC Toolchain Error


From: Bob Plymale
Subject: Re: GNUstep Windows MSVC Toolchain Error
Date: Mon, 26 Jul 2021 06:23:16 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0


Is there any tutorial or howto on getting Qt/QMLto work/integrate with gnutep?



Thanks,


Bob

On 7/26/2021 5:18 AM, Frederik Seiffert wrote:

Am 26.07.2021 um 09:33 schrieb Bob Plymale <bplymale@gmail.com>:

Success!

I was able to install, configure, compile a small program.

Nice, that’s great!

Questions.

1. I am new to Windows so is it customary to include the dll's (I do not see static lib's) with the program? On Mac I either include static lib's or the shared dll's and copy it to the program directory.

Yes you’ll have to distribute the DLLs alongside your EXE. Static linking is not permitted by the LGPL.

2.  To confirm the only frameworks available are GNUstep Base Library (Foundation) and
GNUstep CoreBase Library (CoreFoundation).

That’s correct as of now.

3.  How do you handle the GUI part of the app if it is not a console only app?

In our project we use Qt/QML for the UI layer on Windows and Android, which integrates nicely using some glue classes that allow us to bind QML elements directly to our ObjC model via KVO.

That being said, I think it shouldn’t be too involved to get gnustep-gui and -back working with the MSVC toolchain. The main thing that needs to be done is annotate all classes with GS_EXPORT_CLASS, and probably some tweaks in Autoconf, mirroring the changes done in Base:
https://github.com/gnustep/libs-base/commit/61709e6101b0d6dbb702471a5e36f3280e642dc0

Apart from that we’ll also need to add any dependencies like libtiff to the scripts. I’d very much like to get the complete GNUstep stack working with this setup, and hopefully will be able to spend some time working on it soon, but please feel free to take a look if you want to jump right in.

Frederik


reply via email to

[Prev in Thread] Current Thread [Next in Thread]