Re: [Qt-creator] QtCreator on F29
On 6/25/19 9:36 PM, Richard Kimberly Heck wrote: > On 6/25/19 3:11 PM, Richard Kimberly Heck wrote: >> >> Hi, André! Hope you are well. >> >> On 6/19/19 5:10 PM, André Pönitz wrote: >>> On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been having problems using QtCreator as I always have to work on LyX. Specifically, QtCreator fails to find a lot of included files, with the result that there are gazillions of 'parse errors' displayed in the editor. For example, our own generated config.h is not found, and QtCreator complains that none of the Qt headers are found. Any idea what has changed or what I might do? I've tried deleting all the *.creator files, etc. >>> I guess there's more information on the actual versions needed. >>> >>> I tried current LyX + Qt Creator + Qt (all recent-ish git) >>> with CMake and it built and run out-of-the-box. >> >> This is all on Fedora 29. >> >> About QtCreator says: >> >> Qt Creator 4.7.2 >> >> Based on Qt 5.11.3 (GCC 8.2.1 20181215 (Red Hat 8.2.1-6), 64 bit) >> >> Qt itself is 5.11.3 >> >> I've just cloned the LyX git repo into a fresh directory, and I have >> the same problem. The first and in a way biggest problem is that >> config.h is not being found. But nor are the Qt headers, still. I'm >> attaching a screenshot showing what I see. >> >> It is possible, of course, that it is a Fedora problem. The problem >> appeared when I upgraded to F29. >> > I've just downloaded Qt 4.9.1, and the problem with the Qt headers > persists. I also tried deleting (or moving) all of the QtCreator files > in ~/.config/. The weird thing is that compilation works fine. It's just > in the editor that the errors appear (which then causes all kinds of > other problems). For some reason, the Qt headers are just not being > found by QtCreator itself. (They are in /usr/include/qt5/.) > > I have checked the "kit" and set the Qt Version to > /usr/lib64/qt5/bin/qmake-qt5. This reports Qt version 5.11.3, and the > "Details" section gives the expected info. > > How does QtCreator try to find the Qt headers? 1) Regarding the missing config.h - as this is generated by the build system, you need to build. If you have, try re-opening e.g. GuiView.cpp 2) In projects mode, there is no warning icon in front of the kit name, correct? If there is one, what's the warning? 3) In your attached screenshot, there is a yellow warning icon in the editor toolbar, just before the symbol outline dropdown ("") - what does it warn about? 4) Open the problematic file and Menu: Tools > C++ > "Inspect C++ Code Model..." should provide you the list of include paths the code model gets (Top level tab: "Project Pats", bottom level tab: "Header Paths"). Maybe more essential include paths are missing? 5) Which cmake version are you using? I have cmake-3.14.5 and that seems to work fine once the build process generated config.h. Nikolai ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] QtCreator on F29
> On 25. Jun 2019, at 21:36, Richard Kimberly Heck wrote: > > On 6/25/19 3:11 PM, Richard Kimberly Heck wrote: >> >> Hi, André! Hope you are well. >> >> On 6/19/19 5:10 PM, André Pönitz wrote: >>> On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: >>> Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been having problems using QtCreator as I always have to work on LyX. Specifically, QtCreator fails to find a lot of included files, with the result that there are gazillions of 'parse errors' displayed in the editor. For example, our own generated config.h is not found, and QtCreator complains that none of the Qt headers are found. Any idea what has changed or what I might do? I've tried deleting all the *.creator files, etc. >>> I guess there's more information on the actual versions needed. >>> >>> I tried current LyX + Qt Creator + Qt (all recent-ish git) >>> with CMake and it built and run out-of-the-box. >>> >> This is all on Fedora 29. >> >> About QtCreator says: >> Qt Creator 4.7.2 >> Based on Qt 5.11.3 (GCC 8.2.1 20181215 (Red Hat 8.2.1-6), 64 bit) >> Qt itself is 5.11.3 >> I've just cloned the LyX git repo into a fresh directory, and I have the >> same problem. The first and in a way biggest problem is that config.h is not >> being found. But nor are the Qt headers, still. I'm attaching a screenshot >> showing what I see. >> It is possible, of course, that it is a Fedora problem. The problem appeared >> when I upgraded to F29. > I've just downloaded Qt 4.9.1, and the problem with the Qt headers persists. > I also tried deleting (or moving) all of the QtCreator files in ~/.config/. > The weird thing is that compilation works fine. It's just in the editor that > the errors appear (which then causes all kinds of other problems). For some > reason, the Qt headers are just not being found by QtCreator itself. (They > are in /usr/include/qt5/.) > > I have checked the "kit" and set the Qt Version to > /usr/lib64/qt5/bin/qmake-qt5. This reports Qt version 5.11.3, and the > "Details" section gives the expected info. > > How does QtCreator try to find the Qt headers? Can you please check the details in Tools > C++ > Inspect C++ Code Model ? That shows what the code model knows. Br, Eike > Riki > > > ___ > Qt-creator mailing list > Qt-creator@qt-project.org > https://lists.qt-project.org/listinfo/qt-creator -- Eike Ziller Principal Software Engineer The Qt Company GmbH Rudower Chaussee 13 D-12489 Berlin eike.zil...@qt.io http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Mika Harjuaho Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] QtCreator on F29
On Tue, Jun 25, 2019 at 04:18:50PM -0400, Richard Kimberly Heck wrote: > On 6/25/19 3:34 PM, André Pönitz wrote: > > On Tue, Jun 25, 2019 at 03:11:56PM -0400, Richard Kimberly Heck wrote: > >> Hi, André! Hope you are well. > >> On 6/19/19 5:10 PM, André Pönitz wrote: > >>> On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: > Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been > having problems using QtCreator as I always have to work on LyX. > Specifically, QtCreator fails to find a lot of included files, with the > result that there are gazillions of 'parse errors' displayed in the > editor. For example, our own generated config.h is not found, and > QtCreator complains that none of the Qt headers are found. > > Any idea what has changed or what I might do? I've tried deleting all > the *.creator files, etc. > >>> I guess there's more information on the actual versions needed. > >>> > >>> I tried current LyX + Qt Creator + Qt (all recent-ish git) > >>> with CMake and it built and run out-of-the-box. > >> This is all on Fedora 29. > >> > >> About QtCreator says: > >> > >> Qt Creator 4.7.2 > >> > >> Based on Qt 5.11.3 (GCC 8.2.1 20181215 (Red Hat 8.2.1-6), 64 bit) > >> > >> Qt itself is 5.11.3 > >> > >> I've just cloned the LyX git repo into a fresh directory, and I have the > >> same problem. The first and in a way biggest problem is that config.h is > >> not being found. But nor are the Qt headers, still. I'm attaching a > >> screenshot showing what I see. > >> > >> It is possible, of course, that it is a Fedora problem. The problem > >> appeared when I upgraded to F29. > > Is that using CMake or autotools? I noticed that it only works with > > CMake for me, and a lot of not found items when using autotools? > > I tried CMake. No luck. Here's what I did: > > Fresh clone of LyX > ./autogen.sh > mkdir build > cd build > cmake .. > make > > Opened Qt Creator, imported existing project using all defaults. Still > Qt headers not found. I think I just opened the top-level CMakeLists.txt, I'll re-check tomorrow. I certainly did not run cmake .. ; make Andre' ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] QtCreator on F29
On 6/25/19 3:34 PM, André Pönitz wrote: > On Tue, Jun 25, 2019 at 03:11:56PM -0400, Richard Kimberly Heck wrote: >> Hi, André! Hope you are well. >> On 6/19/19 5:10 PM, André Pönitz wrote: >>> On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been having problems using QtCreator as I always have to work on LyX. Specifically, QtCreator fails to find a lot of included files, with the result that there are gazillions of 'parse errors' displayed in the editor. For example, our own generated config.h is not found, and QtCreator complains that none of the Qt headers are found. Any idea what has changed or what I might do? I've tried deleting all the *.creator files, etc. >>> I guess there's more information on the actual versions needed. >>> >>> I tried current LyX + Qt Creator + Qt (all recent-ish git) >>> with CMake and it built and run out-of-the-box. >> This is all on Fedora 29. >> >> About QtCreator says: >> >> Qt Creator 4.7.2 >> >> Based on Qt 5.11.3 (GCC 8.2.1 20181215 (Red Hat 8.2.1-6), 64 bit) >> >> Qt itself is 5.11.3 >> >> I've just cloned the LyX git repo into a fresh directory, and I have the >> same problem. The first and in a way biggest problem is that config.h is >> not being found. But nor are the Qt headers, still. I'm attaching a >> screenshot showing what I see. >> >> It is possible, of course, that it is a Fedora problem. The problem >> appeared when I upgraded to F29. > Is that using CMake or autotools? I noticed that it only works with > CMake for me, and a lot of not found items when using autotools? I tried CMake. No luck. Here's what I did: Fresh clone of LyX ./autogen.sh mkdir build cd build cmake .. make Opened Qt Creator, imported existing project using all defaults. Still Qt headers not found. Riki ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] QtCreator on F29
On 6/25/19 3:11 PM, Richard Kimberly Heck wrote: > > Hi, André! Hope you are well. > > On 6/19/19 5:10 PM, André Pönitz wrote: >> On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: >>> Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been >>> having problems using QtCreator as I always have to work on LyX. >>> Specifically, QtCreator fails to find a lot of included files, with the >>> result that there are gazillions of 'parse errors' displayed in the >>> editor. For example, our own generated config.h is not found, and >>> QtCreator complains that none of the Qt headers are found. >>> >>> Any idea what has changed or what I might do? I've tried deleting all >>> the *.creator files, etc. >> I guess there's more information on the actual versions needed. >> >> I tried current LyX + Qt Creator + Qt (all recent-ish git) >> with CMake and it built and run out-of-the-box. > > This is all on Fedora 29. > > About QtCreator says: > > Qt Creator 4.7.2 > > Based on Qt 5.11.3 (GCC 8.2.1 20181215 (Red Hat 8.2.1-6), 64 bit) > > Qt itself is 5.11.3 > > I've just cloned the LyX git repo into a fresh directory, and I have > the same problem. The first and in a way biggest problem is that > config.h is not being found. But nor are the Qt headers, still. I'm > attaching a screenshot showing what I see. > > It is possible, of course, that it is a Fedora problem. The problem > appeared when I upgraded to F29. > I've just downloaded Qt 4.9.1, and the problem with the Qt headers persists. I also tried deleting (or moving) all of the QtCreator files in ~/.config/. The weird thing is that compilation works fine. It's just in the editor that the errors appear (which then causes all kinds of other problems). For some reason, the Qt headers are just not being found by QtCreator itself. (They are in /usr/include/qt5/.) I have checked the "kit" and set the Qt Version to /usr/lib64/qt5/bin/qmake-qt5. This reports Qt version 5.11.3, and the "Details" section gives the expected info. How does QtCreator try to find the Qt headers? Riki ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] QtCreator on F29
On Tue, Jun 25, 2019 at 03:11:56PM -0400, Richard Kimberly Heck wrote: > > Hi, André! Hope you are well. > On 6/19/19 5:10 PM, André Pönitz wrote: > > On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: > >> Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been > >> having problems using QtCreator as I always have to work on LyX. > >> Specifically, QtCreator fails to find a lot of included files, with the > >> result that there are gazillions of 'parse errors' displayed in the > >> editor. For example, our own generated config.h is not found, and > >> QtCreator complains that none of the Qt headers are found. > >> > >> Any idea what has changed or what I might do? I've tried deleting all > >> the *.creator files, etc. > > I guess there's more information on the actual versions needed. > > > > I tried current LyX + Qt Creator + Qt (all recent-ish git) > > with CMake and it built and run out-of-the-box. > > This is all on Fedora 29. > > About QtCreator says: > > Qt Creator 4.7.2 > > Based on Qt 5.11.3 (GCC 8.2.1 20181215 (Red Hat 8.2.1-6), 64 bit) > > Qt itself is 5.11.3 > > I've just cloned the LyX git repo into a fresh directory, and I have the > same problem. The first and in a way biggest problem is that config.h is > not being found. But nor are the Qt headers, still. I'm attaching a > screenshot showing what I see. > > It is possible, of course, that it is a Fedora problem. The problem > appeared when I upgraded to F29. Is that using CMake or autotools? I noticed that it only works with CMake for me, and a lot of not found items when using autotools? Andre' ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] QtCreator on F29
On Fri, Jun 14, 2019 at 10:12:52PM -0400, Richard Kimberly Heck wrote: > Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been > having problems using QtCreator as I always have to work on LyX. > Specifically, QtCreator fails to find a lot of included files, with the > result that there are gazillions of 'parse errors' displayed in the > editor. For example, our own generated config.h is not found, and > QtCreator complains that none of the Qt headers are found. > > Any idea what has changed or what I might do? I've tried deleting all > the *.creator files, etc. I guess there's more information on the actual versions needed. I tried current LyX + Qt Creator + Qt (all recent-ish git) with CMake and it built and run out-of-the-box. Andre' ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
[Qt-creator] QtCreator on F29
Since upgrading to Fedora 29 (yes, I tend to be a bit behind), I've been having problems using QtCreator as I always have to work on LyX. Specifically, QtCreator fails to find a lot of included files, with the result that there are gazillions of 'parse errors' displayed in the editor. For example, our own generated config.h is not found, and QtCreator complains that none of the Qt headers are found. Any idea what has changed or what I might do? I've tried deleting all the *.creator files, etc. Riki ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator