Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-12 Thread Alexandru Croitor via Interest
12. Feb 2024, at 10:01, Alexandru Croitor via Interest > wrote: > > Hi again, > > Could you please try to clone qt5compat repo as shown below into a new > directory, and then share output of all the commands? > > cd some_tmp_dir > git clone > "ssh://@c

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-12 Thread Alexandru Croitor via Interest
Hi again, Could you please try to clone qt5compat repo as shown below into a new directory, and then share output of all the commands? cd some_tmp_dir git clone "ssh://@codereview.qt-project.org:29418/qt/tqtc-qt5compat" # need to adjust user name cd tqtc-qt5compat git rev-parse HEAD git

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Alexandru Croitor via Interest
Hi, > On 9. Feb 2024, at 11:15, Nuno Santos wrote: > > I’m trying as an alternative to build 6.6.1 from source but I’m also having > this: > > + git submodule init tests/auto/qml/ecmascripttests/test262 > *** /qtdeclarative/tests/auto/qml/ecmascripttests/test262 not found, > ignoring

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Alexandru Croitor via Interest
Hi, replying inline. > On 9. Feb 2024, at 11:05, Nuno Santos wrote: > > Alexandru, > > Same problem > > ➜ 6.5.4 git clone > "ssh://sinosoi...@codereview.qt-project.org:29418/qt/tqtc-qt5" > Cloning into 'tqtc-qt5'... > remote: Counting objects: 189, done > remote: Finding sources: 100%

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Alexandru Croitor via Interest
Hi, I just tried the following sequence of commands locally with no pre-existing directory, and everything worked fine. git clone "ssh://@codereview.qt-project.org:29418/qt/tqtc-qt5" qt6_new cd qt6_new git checkout origin/tqtc/lts-6.5.4 ./init-repository --module-subset=qt5compat Can you

Re: [Interest] CMake problems with WASM

2023-11-21 Thread Alexandru Croitor via Interest
Hi, Configure with cmake -B build -G Ninja -S . -DCMAKE_TOOLCHAIN_FILE=/Users/Shared/Qt6.2.0/6.6.0/wasm_singlethread/lib/cmake/Qt6/qt.toolchain.cmake -DQT_CHAINLOAD_TOOLCHAIN_FILE= > On 21. Nov 2023, at 15:04, DAS Loop wrote: > > > Hi, > > I have a small test for wasm using cmake that

Re: [Interest] binaries for Linux

2023-11-07 Thread Alexandru Croitor via Interest
Hi, For Qt 6.6.0, it's RHEL 8.6. https://github.com/qt/qt5/blob/v6.6.0/coin/platform_configs/cmake_platforms.yaml#L173 The ones with 'Packaging' are the ones available from the online installer. > On 7. Nov 2023, at 14:17, Danil Shkodin > wrote: > > Hi. > I was wondering > what distro are

Re: [Interest] Issue with CMake and Qt6 on Windows

2023-08-30 Thread Alexandru Croitor via Interest
Hi, Instead of specifying the Qt6_DIR env var, pass -DCMAKE_PREFIX_PATH=C:\Qt\6.6.0\msvc2019_64 to CMake. Specifying the Qt6_DIR cache var is not sufficient to find Qt at the moment (there is an open bug about it). Specifying the Qt6_DIR env var not being sufficient is likely the same issue.

Re: [Interest] Per-language lupdate options not possible with qt_add_lupdate CMake helper?

2023-08-07 Thread Alexandru Croitor via Interest
Hi, Unless i'm misreading the code, i don't think it's currently possible to pass per-file / per-lang separate options for a single target with qt_add_lupdate. You could try to work around it by having separate targets per language, but that's clearly sub-optimal. You should be fine with

Re: [Interest] qmake: set CFBundleDisplayName?

2023-05-31 Thread Alexandru Croitor via Interest
Hi, >From https://doc.qt.io/qt-6/ios.html#customizing-xcode-project-settings Something like this should work? product_name.name = PRODUCT_NAME product_name.value = QMAKE_MAC_XCODE_SETTINGS += product_name > On 31. May 2023, at 14:29, Alexander Dyagilev wrote: > > Hello, > > Is there a

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-23 Thread Alexandru Croitor via Interest
Indeed, /wholearchive exists on windows and can be used with the referenced cmake version, but unfortunately: - ensuring certain symbols are not discarded - others are (-gc-sections), - it works reliably - for all platforms that qt supports is more involved. See QTBUG-97816 , the comments

Re: [Interest] Could NOT find Qt6WebSockets trying to compile Qt 6.2.6 (Ubuntu 22.04)

2023-01-10 Thread Alexandru Croitor via Interest
Hi, I can't say what's going wrong with qtwebsockets at the moment, but try configuring with -skip qtwebsockets -skip qttranslations That should hopefully avoid the second error. From: Interest on behalf of Stefan Seefeld Sent: Sunday, January 8,

Re: [Interest] Qt 6.4.1 static - Missing some debug objects when using a static build kit?

2022-12-08 Thread Alexandru Croitor via Interest
Hi, Most likely you're hitting https://gitlab.kitware.com/cmake/cmake/-/issues/21475 Make sure you call either ninja install in the Qt build dir or cmake --build . --target install Just cmake --install . does not work. > On 9. Dec 2022, at 00:07, Nuno Santos wrote: > > Hi, > > I’ve built

Re: [Interest] how to link my own GLib build to a Qt 6.4 build?

2022-11-09 Thread Alexandru Croitor via Interest
Hi, Qt find glib2 using this code https://github.com/qt/qtbase/blob/dev/cmake/3rdparty/extra-cmake-modules/find-modules/FindGLIB2.cmake which uses pkg-config underneath. According to https://askubuntu.com/questions/210210/pkg-config-path-environment-variable you can try setting the

Re: [Interest] TSAN findings in a simple QApplication/QMetaObject::invokeMethod example

2022-11-05 Thread Alexandru Croitor via Interest
Hi. Make sure that the configure summary shown at the end mentions that tsan is enabled. Search for sanitizer. I think the right configure line is ../qt6/configure -developer-build -opensource -nomake examples -nomake tests -sanitize thread From:

Re: [Interest] Issue building Qt from source

2022-10-25 Thread Alexandru Croitor via Interest
Hi, You're hitting https://gitlab.kitware.com/cmake/cmake/-/issues/21475 Use ninja install instead of cmake --install . That's why the configure script summary output says ninja install as well. > On 25. Oct 2022, at 14:59, Sean Murphy via Interest > wrote: > > Yesterday I built Qt 6.3.2