Am Di., 16. März 2021 um 22:33 Uhr schrieb Yu Jin <yu_...@lyx.org>:

> Am Di., 16. März 2021 um 22:30 Uhr schrieb Yu Jin <yu_...@lyx.org>:
>
>> Am Di., 16. März 2021 um 19:04 Uhr schrieb Kornel Benko <kor...@lyx.org>:
>>
>>> Am Tue, 16 Mar 2021 18:21:19 +0100
>>> schrieb Yu Jin <yu_...@lyx.org>:
>>>
>>> > Am Di., 16. März 2021 um 16:36 Uhr schrieb Kornel Benko <
>>> kor...@lyx.org>:
>>> >
>>> > > Am Tue, 16 Mar 2021 16:32:49 +0100
>>> > > schrieb Yu Jin <yu_...@lyx.org>:
>>> > >
>>> > > > Just seen this one and wanted to try it out obviously :)
>>> > > > But it doesn't work for me on Windows. Using CMake GUI I notice
>>> that the
>>> > > > dropdown menu LYX_USE_QT does not contain QT6, just QT5, QT4 and
>>> AUTO as
>>> > > > before. When I choose AUTO it fails with:
>>> > > >
>>> > > > CMake Error at development/cmake/modules/FindQt4.cmake:568
>>> (message):
>>> > > >   Could NOT find QtCore.  Check
>>> > > >   C:/lyx/masterbuild64Qt6/CMakeFiles/CMakeError.log for more
>>> details.
>>> > > > Call Stack (most recent call first):
>>> > > >   CMakeLists.txt:804 (find_package)
>>> > > >
>>> > > > It does find some QT6 stuff correctly though, like QT_PLUGINS_DIR,
>>> but
>>> > > not
>>> > > > everything, like QtCore.
>>> > >
>>> > > I have a patch ready, but cannot test.
>>> > >
>>> >
>>> > Care to share it? I can test.
>>>
>>> Attached.
>>>
>>
>> Still seems to be missing something. When I try to configure the same way
>> as with Qt5 (navigate to the Qt dir at CMAKE_PREFIX_PATH), it fails with
>> this error:
>>
>> CMake Error at CMakeLists.txt:786 (find_package):
>>   Could not find a package configuration file provided by "Qt6Core" with
>> any
>>   of the following names:
>>
>>     Qt6CoreConfig.cmake
>>     qt6core-config.cmake
>>
>>   Add the installation prefix of "Qt6Core" to CMAKE_PREFIX_PATH or set
>>   "Qt6Core_DIR" to a directory containing one of the above files.  If
>>   "Qt6Core" provides a separate development package or SDK, be sure it has
>>   been installed.
>>
>> Then I choose Qt6Core_DIR manually and then it fails again with basically
>> the same error but this time it's Qt6CoreToolsConfig.cmake. Also setting
>> that one manually fails with Qt6WidgetsConfig.cmake, (did not try past that
>> one).
>>
>> Oh wait, that was my fault, chosen wrong folder .... now it configures
> ok, will try to compile..
>

Visual Studio gave a lot of errors, I attached a csv file containing those.
-- 
    Eugene

Attachment: Errors.csv
Description: MS-Excel spreadsheet

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to