Added some information about Qt Creator IDE integration to the wiki

Hossein Noorikhah hossein.ir at gmail.com
Fri Feb 26 12:05:33 UTC 2021


Hi,

> qtcreator-ide-integration (and the other IDE integrations as well) uses
> information from gbuild (the LO build system).
> Does 'workdir/GbuildToJson/Library/libvcllo.so' have an entry
> 'source/window/menu'?
>
> You can check e.g. by using
>
>      grep -E --color 'source/window/menu( |$)'
> workdir/GbuildToJson/Library/libvcllo.so
>

workdir/GbuildToJson/Library/libvcllo.so is blank. But VS Code
project has all the .cxx and .h files.

> It's weird that it tries to create a 'core/core.pro' and
> 'core/core.pro.shared', I don't have any such files here.
> Is it correct that directory
> '/home/hossein/Projects/libreoffice/core/core/' does not exist?

No, I don't have any directory named core/core.

I'm going to remove the whole source directory and try building again.

Regards,
Hossein


On Fri, Feb 26, 2021 at 1:57 PM Michael Weghorn <m.weghorn at posteo.de> wrote:
>
> On 26/02/2021 10.33, Hossein Noorikhah wrote:
> > I am using the latest Ubuntu LTS.
> > There is no autogen.input here, I usually run ./autogen.sh without any
> > parameters, but I have this in autogen.lastrun:
> >
> > ./autogen.sh --with-distro=LibreOfficeLinux
> >
> > Although I think the last run of autogen.sh was without any parameters.
>
> If run without any parameters, './autogen.sh' will use the params set in
> 'autogen.input', and if that's not present, those from
> 'autogen.lastrun', so that's OK.
>
> My current autogen.input contains these params:
>
>      --enable-ccache
>      --enable-dbgutil
>      --enable-werror
>      --enable-gtk3-kde5
>      --enable-qt5
>      --enable-kf5
>      --without-doxygen
>      --with-jdk-home=/usr/lib/jvm/java-11-openjdk-amd64/
>      --enable-python=fully-internal
>      --with-valgrind
>      --enable-split-debug
>      --enable-ld=gold
>      --enable-gdb-index
>      --enable-online-update
>
> Not sure whether it's related to the qtcreator issue we're discussing,
> but in case you should want to debug LO, you'll probably want
> '--enable-debug' or '--enable-dbgutil'.
>
> >
> > The vcl.pro file is also attached. Look at these results:
> >
> > hossein at linux:~/Projects/libreoffice/core/vcl$ find -iname "*.cxx"|wc
> >      830     830   26203
> > hossein at linux:~/Projects/libreoffice/core/vcl$ find -iname "*.hxx"|wc
> >      388     388   10798
> > hossein at linux:~/Projects/libreoffice/core/vcl$ wc vcl.pro
> >    816  1631 56830 vcl.pro
> > hossein at linux:~/Projects/libreoffice/core/vcl$ grep .cxx vcl.pro | wc
> >      202     405   15719
> > hossein at linux:~/Projects/libreoffice/core/vcl$ grep .hxx vcl.pro | wc
> >      294     589   20919
> >
> > A lot of files are missing in the vcl.pro
>
> qtcreator-ide-integration (and the other IDE integrations as well) uses
> information from gbuild (the LO build system).
> Does 'workdir/GbuildToJson/Library/libvcllo.so' have an entry
> 'source/window/menu'?
>
> You can check e.g. by using
>
>      grep -E --color 'source/window/menu( |$)'
> workdir/GbuildToJson/Library/libvcllo.so


More information about the LibreOffice mailing list