Building LibreOffice from an IDE

Olivier Hallot olivier.hallot at
Tue Nov 19 04:34:15 PST 2013

Hash: SHA1

Real good news... indeed. Thanks you so much for that, Bjoern.

I was already using kdevelop for editing, type checking and
autocompletion. Very handy. But lack of time, kdevelop crashes and heavy
page swaps prevented me to full use of it.

Eager to test... How about git/gerrit?



Em 19-11-2013 10:08, bjoern escreveu:
> Hi,
> so I just pushed:
> to master. As it says, this allows building LibreOffice conveniently from an
> IDE -- kdevelop in this case -- with most of the usual features:
> - autocompletion
> - building a module from the IDE
> - building all of LibreOffice from the IDE
> - nondebug and debug build configs for the above
> - starting LibreOffice from the IDE
> - running unitchecks, slowchecks and subsequentchecks from the IDE
> It doesnt yet allow debugging from the IDE, but I guess it wouldnt be too hard to add.
> a few canveats:
> - autocompletion works, but:
>   * you should have a full build before starting with this as otherwise generated
>     headers (that is all of UNO) is missing
>   * for high level modules, parsing all of the header takes a _lot_ of time,
>      once that is done though, it seems to be working rather snappy
> - our toplevel with all its "you tell me to do foo, but I rather do
>   bar"-wrapping logic, does not handle "make unitcheck slowcheck
>   subsequentcheck" correctly, but that needs fixing there.
> - building objects for different libraries and targets (with different defines
>   and include paths) from one directory isnt something that kdevelop handles
>   well, but I dont yet know if that is of realpractical relevance for the
>   autocomplete.
>   This is a historic abomination anyway and should be killed with fire, see:
> If you want to try it out, do:
>  make kdevelop-ide-integration
> and open one of the *.kdev4 projects with kdevelop. Note that the kdevelop
> specific part of this is a mere ~150 lines of Python (half of that config
> templates), so this is a call to arms too:
>  You prefer Eclipse, Netbeans, MS Visual Studio, $YOURIDE? 
>  Well, then add the same for those IDEs! ;)
> TBH I did this mostly to prove a point on how easy it is to get this IDE stuff
> out of gbuild, not because I crave to develop LibreOffice in a IDE.
> OTOH, now that I see the potential there ...
> Best,
> Bjoern
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Kurfürstendamm 188, 10707 - Berlin, Germany
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details:
LibreOffice translation leader for Brazilian Portuguese
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


More information about the LibreOffice mailing list