[Development] Failed to run configure.bat in qt/qt5 repository on Windows?

Kai Köhne Kai.Koehne at qt.io
Tue Aug 22 08:34:17 CEST 2023


> I followed what you said, build qminimal manually.
> However, after that, it still failed to build docs target.

Like I said in a previous mail, you need qminimal and qsqlite (at least if you don't use latest dev). So make this:

  cmake --build . --parallel 4 --target qminimal qsqlite
  cmake --build . --parallel 4 docs 

Regards

Kai

________________________________________
From: Development <development-bounces at qt-project.org> on behalf of Haowei Hsu <hwhsu1231 at gmail.com>
Sent: Tuesday, August 22, 2023 7:45
To: Cristian Adam
Cc: Qt development mailing list
Subject: Re: [Development] Failed to run configure.bat in qt/qt5 repository on Windows?

Hello, Cristian.

What happens if you try to build it manually?
$ cmake --build . --target qminimal
[327/327 4.8/sec] Linking CXX shared module qtbase\plugins\platforms\qminimal.dll

I followed what you said, build qminimal manually.
However, after that, it still failed to build docs target.
The following commands are what I test:

  1.  git status
  2.  rmdir /s/q build
  3.  where gcc
  4.  set PATH=D:\Repo\tmp\mingw64\bin;%PATH%
  5.  where gcc
  6.  gcc --version
  7.  mkdir build\mingw-release && chdir build\mingw-release
  8.  ..\..\configure.bat -release -developer-build -submodules qtbase,qt5compat,qtsvg,qtimageformats,qtshadertools,qtdeclarative,qttools,qtquicktimeline,qtquick3d,qtserialport -nomake examples -nomake tests -- -DCMAKE_PREFIX_PATH=D:/Repo/tmp/libclang -DCMAKE_IGNORE_PREFIX_PATH=C:/Strawberry/c
  9.  cmake --build . --parallel 4 --target qttools
  10. cmake --build . --parallel 4 --target qminimal
  11. cmake --build . --parallel 4 --target docs (failed)

You can see the attachment with the full log: log-failed-to-build-docs-after-qminimal.txt

---
Haowei Hsu


More information about the Development mailing list