[Interest] Compile Qt 6.2.1 from source

joao morgado joaodeusmorgado at yahoo.com
Tue Oct 5 12:30:11 CEST 2021


 Thiago
I found the problem, followed your advice I installed ninja-build and works fine.In fact, I checked a old configure output, showed a warning:
+ exec /home/joao/qt6.2/qt5/qtbase/configure -top-level -developer-build -- -D QT_BUILD_TESTS_BY_DEFAULT=OFF
'/usr/local/bin/cmake' '-D' 'QT_BUILD_TESTS_BY_DEFAULT=OFF' '-DINPUT_developer_build=yes' '-G' 'Unix Makefiles' '/home/joao/qt6.2/qt5'
CMake Warning at qtbase/cmake/QtAutoDetect.cmake:76 (message):
  The officially supported CMake generator for building Qt is Ninja.  You are
  using: 'Unix Makefiles' instead.  Thus, you might encounter issues.  Use at
  your own risk.


Solved !!!CheersJoão



    Em terça-feira, 5 de outubro de 2021 00:39:42 GMT+1, Thiago Macieira <thiago.macieira at intel.com> escreveu:  
 
 On Monday, 4 October 2021 14:43:08 PDT joao morgado via Interest wrote:
>  Hi Thiago
> "git describe" shows 
> 
> v6.2.0-3-g1d8225dd
> and  "git branch" shows
> 6.2.0

The first one is fine. That indicates 3 commits past the v6.2.0 tag. The 
second one is weird. The 6.2.0 branch shouldn't have moved after the tag, but 
it's not a problem.

> I did a fresh install from start: git clone ..., git checkout 6.2.0,  git
> submodule update,  perl init-repository,  again a git sub module update, 
> configure ... , cmake --build .... I got the same type of error:

Please insert "-j1 -v" to the cmake --build line (after --build) and paste the 
output.

PS: you should install ninja.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20211005/9772af69/attachment.html>


More information about the Interest mailing list