Re: Error with Qt 6 and autotools
On Tue, Aug 22, 2023 at 09:28:32PM +0200, Cor Blom wrote: > Op 22-08-2023 om 21:02 schreef Scott Kostyshak: > > Are you sure that CMake ends up compiling with Qt 6? I wonder if it's > > possible CMake actually compiles with Qt 5 (because it detects a missing > > dependency). > > It's an isolated build environment where qt5 is not present, so yes it is > using qt6. > > I also see this among the build param: > > LYX_USE_QT:STRING = QT6: Use Qt version as frontend > (AUTO QT5 QT6) Thanks for confirming that. Scott signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Bug: counter of recent documents in Preferences dialog
On Tue, Aug 22, 2023 at 09:48:07AM +0200, Dan wrote: > Hello, > > I think I have stumbled upon a bug in Lyx (development version) not yet > reported, or at least I did not manage to find it in the bug tracker. > > The problem > > Follow through > 1. Run Lyx (version, build and OS info in the text attatchment). > 2. Open the Preferences dialog (Tools > Preferences). 3. In the Look and > Feel section, choose User Interface. > 4. Set the number of recent documents to more than 9. > 5. The last digit of the two-digit number is barely visible (see attatched > image). Should be fixed by 06198fbe1854. Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Error with Qt 6 and autotools
Op 22-08-2023 om 21:02 schreef Scott Kostyshak: Are you sure that CMake ends up compiling with Qt 6? I wonder if it's possible CMake actually compiles with Qt 5 (because it detects a missing dependency). It's an isolated build environment where qt5 is not present, so yes it is using qt6. I also see this among the build param: LYX_USE_QT:STRING = QT6: Use Qt version as frontend (AUTO QT5 QT6) Cor -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Re: Error with Qt 6 and autotools
On Tue, Aug 22, 2023 at 08:41:01PM +0200, Cor Blom wrote: > Hi, > > I have tried building the qt6 version using autotools in the buildservice of > openSUSE for Tumbleweed. It fails with the following error: > > [ 45s] make all-am > [ 45s] make[6]: Entering directory > '/home/abuild/rpmbuild/BUILD/lyx-qt6-2.4.1692654261.fe74c24da9/src/frontends/qt' > [ 45s] CXX ButtonPolicy.o > [ 45s] CXX Dialog.o > [ 45s] CXX DialogFactory.o > [ 45s] CXX Action.o > [ 45s] In file included from Dialog.cpp:15: > [ 45s] GuiView.h:22:10: fatal error: QMainWindow: No such file or > directory > [ 45s]22 | #include > [ 45s] | ^ > [ 45s] compilation terminated. > [ 45s] make[6]: *** [Makefile:1015: Dialog.o] Error 1 > [ 45s] make[6]: *** Waiting for unfinished jobs > [ 45s] In file included from FindAndReplace.h:15, > [ 45s] from DialogFactory.cpp:14: > [ 45s] DockView.h:17:10: fatal error: QDockWidget: No such file or > directory > [ 45s]17 | #include > [ 45s] | ^ > [ 45s] compilation terminated. > [ 45s] make[6]: *** [Makefile:1015: DialogFactory.o] Error 1 > [ 45s] In file included from Action.cpp:14: > [ 45s] GuiApplication.h:21:10: fatal error: QApplication: No such file or > directory > [ 45s]21 | #include > [ 45s] | ^~ > [ 45s] compilation terminated. > > Those files that can't be found are present. I have also tried cmake and > there the compilation succeeds. Exactly the same environment. It seems that > in autoconf something is missing? Are you sure that CMake ends up compiling with Qt 6? I wonder if it's possible CMake actually compiles with Qt 5 (because it detects a missing dependency). Scott > > Everything is fine with Qt 5, BTW. > > Regards, > > Cor > -- > lyx-devel mailing list > lyx-devel@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-devel signature.asc Description: PGP signature -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Error with Qt 6 and autotools
Hi, I have tried building the qt6 version using autotools in the buildservice of openSUSE for Tumbleweed. It fails with the following error: [ 45s] make all-am [ 45s] make[6]: Entering directory '/home/abuild/rpmbuild/BUILD/lyx-qt6-2.4.1692654261.fe74c24da9/src/frontends/qt' [ 45s] CXX ButtonPolicy.o [ 45s] CXX Dialog.o [ 45s] CXX DialogFactory.o [ 45s] CXX Action.o [ 45s] In file included from Dialog.cpp:15: [ 45s] GuiView.h:22:10: fatal error: QMainWindow: No such file or directory [ 45s]22 | #include [ 45s] | ^ [ 45s] compilation terminated. [ 45s] make[6]: *** [Makefile:1015: Dialog.o] Error 1 [ 45s] make[6]: *** Waiting for unfinished jobs [ 45s] In file included from FindAndReplace.h:15, [ 45s] from DialogFactory.cpp:14: [ 45s] DockView.h:17:10: fatal error: QDockWidget: No such file or directory [ 45s]17 | #include [ 45s] | ^ [ 45s] compilation terminated. [ 45s] make[6]: *** [Makefile:1015: DialogFactory.o] Error 1 [ 45s] In file included from Action.cpp:14: [ 45s] GuiApplication.h:21:10: fatal error: QApplication: No such file or directory [ 45s]21 | #include [ 45s] | ^~ [ 45s] compilation terminated. Those files that can't be found are present. I have also tried cmake and there the compilation succeeds. Exactly the same environment. It seems that in autoconf something is missing? Everything is fine with Qt 5, BTW. Regards, Cor -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel
Bug: counter of recent documents in Preferences dialog
Hello, I think I have stumbled upon a bug in Lyx (development version) not yet reported, or at least I did not manage to find it in the bug tracker. The problem Follow through 1. Run Lyx (version, build and OS info in the text attatchment). 2. Open the Preferences dialog (Tools > Preferences). 3. In the Look and Feel section, choose User Interface. 4. Set the number of recent documents to more than 9. 5. The last digit of the two-digit number is barely visible (see attatched image). Expected behaviour -- The number of recent documents Lyx will remember should be completely visible for two-digit numbers as well. This (little) bug is so easy to spot that feels very unlikely I am the first one to notice, but I did not see any bug report on this. If it was already reported, please, excuse me. As Homer Simpson would say: "It's my first day". Daniel. -- Enviat amb Tutanota. --- Build info --- LyX 2.4.0~RC1.devel (not released yet) Git commit hash 576e9749 Configuration Host type: x86_64-pc-linux-gnu Special build flags: build=development warnings assertions stdlib-assertions callback-printing use-enchant Bundled libraries:nod C++ Compiler:g++ (11.4.0) C++ Compiler flags: -Wall -Wextra -fPIC -g -O -std=c++17 -Wno-deprecated-copy C++ Compiler user flags: Linker flags: -rdynamic Linker user flags: Qt Frontend: Qt version: 5.15.3 --- Version info --- Version 2.4.0~RC1.devel (not released yet) Built from git commit hash 576e9749 Qt Version (run-time): 5.15.3 on platform xcb Qt Version (compile-time): 5.15.3 OS Version (run-time): Linux Mint 21.2 Python detected: python3 -tt -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel