Re: Added some information about Qt Creator IDE integration to the wiki

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

 



Hi,

Thanks for your attention.

I am also using "Qt Creator 4.14.0", and I am using the up-to-date git master. I
removed all the .pro.user and .pro files generated by the invocation of
"bin/gbuild-to-ide --ide qtcreator", using this tiny script:

    for f in `find -name "*.pro.user"`
    do
        pro=${f/\.user/}
        echo $f
        rm $pro
        rm $f
    done

then regenerated .pro files using:

    make qtcreator-ide-integration

and then loaded lo.pro in Qt Creator. In this stage, I had to:

1. Disable shadow build, otherwise I was getting several errors when I wanted to
build the project.
2. Remove qmake build step, otherwise I was also getting several errors when I
wanted to build the project.
3. Change "SUBDIRS = . \" to "SUBDIRS = ../core \", otherwise I wasn't able to
see core.pro get loaded and I was getting this error message:
    /path/to/libreoffice/core/lo.pro: Could not find .pro file for subdirectory
        "." in "/path/to/libreoffice/core/.".
4. Manually add the executable "instdir/program/soffice.bin", otherwise I was
getting this error message:
    You need to set an executable in the custom run configuration.

After doing all these steps, things were fine. So, I think all these steps are
currently necessary, unless the "bin/gbuild-to-ide" script is further tuned.

I had issues with other IDE integration outputs which need separate discussions.

Regards,
Hossein


On Wed, Feb 10, 2021 at 7:51 PM Ilmari Lauhakangas
<ilmari.lauhakangas@xxxxxxxxxxxxxxx> wrote:
>
> On 10.2.2021 18.13, Michael Weghorn wrote:
> > Hi Hossein,
> >
> > thanks! Could you possibly recheck whether all of the custom steps for
> > Qt Creator setup are still necessary with an up-to-date git master?
> >
> > Those 3 commits from Sunday were meant to simplify the setup a bit
> > (automatically set up run + build configurations), so it'd be
> > interesting to hear whether that actually works for you as well (I just
> > tested with Qt Creator 4.14 myself):
> >
> > *
> > https://git.libreoffice.org/core/+/77d5383c6e83fdcb268138f71601fa39c95a62aa%5E!
> > ("qtcreator: Don't create useless run configurations for subdirs")
>
> Gitiles has some weird glitch and shows the wrong commit for two of
> these. Working link:
>
> https://git.libreoffice.org/core/commit/77d5383c6e83fdcb268138f71601fa39c95a62aa
>
> > *
> > https://git.libreoffice.org/core/+/fdd9b20572435842bde076e3c35ef94d26f13b30%5E!
> > ("qtcreator: Drop some extra whitespace in .pro.user template")
> >
> > *
> > https://git.libreoffice.org/core/+/d2d6e5c235f35bf3f2137e8dab4b9b32b72430a8%5E!
> > ("qtcreator: Show actual names for build configurations")
>
> Working link:
> https://git.libreoffice.org/core/commit/d2d6e5c235f35bf3f2137e8dab4b9b32b72430a8
>
> Ilmari
> _______________________________________________
> LibreOffice mailing list
> LibreOffice@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux