public inbox for gentoo-proxy-maint@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-proxy-maint] Fwd: freecad without qtwebengine
       [not found] <20220511193848.1871c6ea@artus>
@ 2022-05-11 19:06 ` Joonas Niilola
  2022-05-11 19:09   ` [gentoo-proxy-maint] " Joonas Niilola
  0 siblings, 1 reply; 2+ messages in thread
From: Joonas Niilola @ 2022-05-11 19:06 UTC (permalink / raw
  To: Alessandro Barbieri; +Cc: gentoo-proxy-maint


[-- Attachment #1.1.1: Type: text/plain, Size: 3017 bytes --]




-------- Forwarded Message --------
Subject: Re: freecad without qtwebengine
Date: Wed, 11 May 2022 17:48:52 +0000
From: waebbl-gentoo@posteo.net
To: Joonas Niilola <juippis@gentoo.org>
CC: proxy-maint@gentoo.org

On Tue, 10 May 2022 20:53:01 +0300
Joonas Niilola <juippis@gentoo.org> wrote:

> -------- Forwarded Message --------
> Subject: 	freecad without qtwebengine
> Date: 	Tue, 10 May 2022 03:36:54 +0200
> From: 	Alessandro Barbieri <lssndrbarbieri@gmail.com>
> To: 	proxy-maint@gentoo.org
> 
> 
> 
> Is it possible to have a version of freecad without qtwebengine as
> dependency? Will it work?

TLDR; Probably possible and will likely run, but with a very bad user
experience, and runtime issues might occur, as it's IMO not meant
to be build that way. TLDR;


I was able to directly build freecad from git HEAD without using
qtwebengine with
~/FreeCAD/build $ cmake -G Ninja .. -DCMAKE_INSTALL_PREFIX="../dist"
-DBUILD_ENABLE_CXX_STD="C++17" -DBUILD_QT5=ON -DBUILD_START=OFF
-DBUILD_WEB=OFF -DFREECAD_USE_EXTERNAL_KDL=ON
-DFREECAD_USE_OCC_VARIANT="Official Version"
-DPYTHON_CONFIG_SUFFIX="-python3.9"
-DPython3_EXECUTABLE="/usr/bin/python3.9"

Relevant options for running without qtwebengine are -DBUILD_START=OFF
and -DBUILD_WEB=OFF. The other options are to select proper versions of
different dependencies.

The package built and ran the test-suite but one test, which tries to
run the start workbench, which isn't available in this build.

So the answer is, that it's probably possible to build and run FreeCAD
without qtwebengine dependency. However, I only used the default build
options, and only changed the two options BUILD_START and BUILD_WEB.
I haven't tried to build with any fancy options enabled.

The interface, however, looks really ugly. There will be no easy access
to recent files, File menu contains only Exit entry, no icons anywhere
as long as you don't open a workbench and you can access the
functionality only by opening a workbench through the menu. I wouldn't
recommend using FC in this way (see attached image).

I'd like to point out, that it's questionable how useful FreeCAD will
be, if a machine has trouble building qtwebengine. The performance will
probably be poor, especially if you want to use FreeCAD seriously for
complex real-world drawings or FEM calculations.

The View->Workbench menu contains the empty Start workbench called FC
<none>. which IMO shows, that FC isn't meant to be built without this
workbench. In future versions, the Start workbench will eventually
additionally be used for help, accessing the FreeCAD wiki.

If someone really wants this, I'd recommend to copy over the versioned
or live ebuild, whichever version they prefer, from ::gentoo to their
local overlay and modify the ebuild by setting the BUILD_START and
BUILD_WEB options to OFF and removing the global dependency on
qtwebengine. It's not something, I like to build into the package.


Regards,
Bernd

[-- Attachment #1.1.2: FC-without-qtwebengine.png --]
[-- Type: image/png, Size: 84522 bytes --]

[-- Attachment #1.1.3: waebbl-gentoo@posteo.net.asc --]
[-- Type: text/plain, Size: 619 bytes --]

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEExIg3+Emk70nqAQ2ybb4K1Uo7McYFAmJOvDBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEM0
ODgzN0Y4NDlBNEVGNDlFQTAxMERCMjZEQkUwQUQ1NEEzQjMxQzYACgkQbb4K1Uo7
McbyjggA40un5MrP8DyyVmJXRUTSrxNHbCFck/7vCRHuHfync2bCFYk3JqvfFcu3
D5ms7sH+3ZBxGgUtCG7LwWOQZ89pSkQFXPCu+4Pb0LlVgz6x+lFyGNXdT1g4RyXu
1TzqQlok5gOmlxJ+aK+C6CmzN7e+0Mfe8lGHVLfcukzjlCglochavIXuiG7KNiTB
4rUSeVLJ6OaLkeqYQ4EYrhU8gkiA8nsH4TqXWxmB6cFhfy0e1wOGlkK31Q9jmmZp
R4qpRF2QwH7CAKlIW9TT8fZ0kw06UVoGosm8lxMA2wQ2WycTnPp7kbRaTvdENEqb
UggCF7hh2g7Y6LSh33f2l6TNlxH0tA==
=G4KG
-----END PGP SIGNATURE-----


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-proxy-maint] Re: Fwd: freecad without qtwebengine
  2022-05-11 19:06 ` [gentoo-proxy-maint] Fwd: freecad without qtwebengine Joonas Niilola
@ 2022-05-11 19:09   ` Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2022-05-11 19:09 UTC (permalink / raw
  To: gentoo-proxy-maint


[-- Attachment #1.1: Type: text/plain, Size: 219 bytes --]

On 11.5.2022 22.06, Joonas Niilola wrote:
Note to self: no e-mailing on a 10" laptop if you can't even see who
you're sending mail to.

Sorry for the spam, but enjoy that very thorough explanation!

-- juippis


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-11 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220511193848.1871c6ea@artus>
2022-05-11 19:06 ` [gentoo-proxy-maint] Fwd: freecad without qtwebengine Joonas Niilola
2022-05-11 19:09   ` [gentoo-proxy-maint] " Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox