Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • Reporting inappropriate content on the forums

    Pinned Locked spam
    29
    3 Votes
    29 Posts
    34k Views
    A
    Thank you for the report. I have banned the user, which got rid of the spam posting. Not a loss, as this user did not post any other content on the site. Just deleting this one posting was not possible. Thanks for reporting this.
  • Duplicate roles across models

    Unsolved
    3
    0 Votes
    3 Posts
    39 Views
    E
    Is a duplicate role merely an additional role in the Sequence model? Yes, but I suppose a role that points to the same data as the one in Interpolator model. What does fragile mean? By having the Interpolator name exposed in 2 models, we no longer have a single source of truth and have to maintain synchronisation between the 2 models. In this use case it's not a major problem so maybe I'm trying to find a solution to a non-existent problem...
  • QTimeEdit - c++

    Unsolved
    3
    0 Votes
    3 Posts
    28 Views
    artwawA
    @jakubd Hi I've rebuilt your example (macOS, Qt 6.9.1) as follows: fresh project, empty form with a button, single slot for a button. Here's mainwindow.cpp: #include "mainwindow.h" #include "ui_mainwindow.h" #include <QTime> #include <QVBoxLayout> #include <QTimeEdit> #include <QStyle> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); connect(ui->pushButton,&QPushButton::clicked,this,&MainWindow::btnClicked); } MainWindow::~MainWindow() { delete ui; } void MainWindow::btnClicked() { QWidget* popUp = new QWidget(this, Qt::Popup); popUp->setWindowModality(Qt::WindowModal); QRect rect = QStyle::alignedRect(layoutDirection(), Qt::AlignBottom, QSize(width()/4, height()/6), geometry()); popUp->setGeometry(rect); QVBoxLayout* layout = new QVBoxLayout(popUp); QTimeEdit* timeChoice = new QTimeEdit(); QTime* maxTime = new QTime(); timeChoice->activateWindow(); QPushButton *button1 = new QPushButton("SAVE"); layout->addWidget(timeChoice); layout->addWidget(button1); popUp->show(); } It works as it should. You can't use keys in the beginning, when the form is shown since there is no focus on the QTimeEdit. Have you tried to press the tab key once? It'll put focus on the first available widget in the queue... Which happens to be what you want. Then you can use the keys. The remedy: in this case simple timeChoice->grabKeyboard(); would suffice but that's rather greedy option, perhaps you should examine the tab order of the modal dialog? Set the default (first) widget?
  • Build and Run gRPC Server for Magic 8 Ball Example on Windows

    Solved
    9
    0 Votes
    9 Posts
    69 Views
    G
    Hi, Thanks for your response. I was able to get it working by using the MSVC kit. Here are the steps I followed, in case anyone else encounters the same issue: Installed MSVC 2022 C++ for Desktop, which allowed Qt Creator to auto-detect the MSVC compilers. Cloned and bootstrapped vcpkg, then installed the required package: git clone https://github.com/microsoft/vcpkg.git cd vcpkg .\bootstrap-vcpkg.bat .\vcpkg.exe install grpc --triplet x64-windows Selected the amd64 compiler in Qt Creator. Updated my CMake configuration as follows: -DCMAKE_TOOLCHAIN_FILE:UNINITIALIZED=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET:UNINITIALIZED=x64-windows -DQT_USE_VCPKG:UNINITIALIZED=ON both server and client binaries were present in the same build directory. Regards, Adnan
  • How do I know when a user drags a document to my app's icon?

    Unsolved
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • Unable to save PySide6 documentation

    Unsolved
    5
    0 Votes
    5 Posts
    70 Views
    C
    @SGaist I think you were on to something regarding Clang install as the most recent attempt (below) does seem to indicate that it was found. This came after removing the other install and using "libclang-release_18.1.7-based-windows-vs2022_64". Unfortunately I still end up receiving "Doc strings extractions not enabled in this shiboken build" though. The reason that I'm trying to build PySide6 is that I've been under the impression that it's a prerequisite for saving the documentation -> loading the .qch files into Qt Assistant. That being said I would not be at all surprised if I just misinterpreted one of the instructions. If there's a different approach that can just get me the PySide6 .qch files I'm all ears. ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.14.11 ** Copyright (c) 2025 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Already on '6.9.1' Your branch is up to date with 'origin/6.9.1'. [INFO]: running build [INFO]: Adding C:\libclang\bin as detected by LLVM_INSTALL_DIR to PATH [INFO]: Inserting path 'C:\libclang\bin' to environment [INFO]: ============================== [INFO]: Package version: 6.9.1 [INFO]: Build type: Release [INFO]: Build tests: 1 [INFO]: --- [INFO]: Make path: C:\Qt\Tools\Ninja\ninja.EXE [INFO]: Make generator: Ninja [INFO]: Make jobs: -j8 [INFO]: --- [INFO]: setup.py directory: C:\dev\PySideDoc\pyside-setup [INFO]: Build scripts directory: C:\dev\PySideDoc\pyside-setup\build_scripts [INFO]: Sources directory: C:\dev\PySideDoc\pyside-setup\sources [INFO]: make build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\build [INFO]: make install directory: C:\dev\PySideDoc\pyside-setup\build\.venv\install [INFO]: setuptools build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\package [INFO]: setuptools install directory: C:\dev\PySideDoc\.venv\Lib\site-packages [INFO]: --- [INFO]: Python executable: C:\dev\PySideDoc\.venv\Scripts\python.exe [INFO]: Python includes: C:\Program Files\Python313\Include [INFO]: Python library: C:\Program Files\Python313\libs\python313.lib [INFO]: Python prefix: C:\dev\PySideDoc\.venv [INFO]: Python scripts: C:\dev\PySideDoc\.venv\Scripts [INFO]: Python arch: 64 [INFO]: --- [INFO]: Qt prefix: C:/Qt/6.9.1/msvc2022_64 [INFO]: Qt qmake: None [INFO]: Qt qtpaths: C:\Qt\6.9.1\msvc2022_64\bin\qtpaths.exe [INFO]: Qt version: 6.9.1 [INFO]: Qt bins: C:/Qt/6.9.1/msvc2022_64/bin [INFO]: Qt docs: C:/Qt/Docs/Qt-6.9.1 [INFO]: Qt plugins: C:/Qt/6.9.1/msvc2022_64/plugins [INFO]: --- [INFO]: OpenSSL dll directory: None [INFO]: ============================== [INFO]: Creating build folder C:\dev\PySideDoc\pyside-setup\build\.venv\build... [INFO]: Creating install folder C:\dev\PySideDoc\pyside-setup\build\.venv\install... [INFO]: Building module shiboken6... [INFO]: Creating module build folder C:\dev\PySideDoc\pyside-setup\build\.venv\build\shiboken6... [INFO]: Using UNITY build [INFO]: Qt Source dir: C:/Qt/6.9.1/Src/qtbase [INFO]: Output format will be HTML [INFO]: Configuring module shiboken6 (C:\dev\PySideDoc\pyside-setup\sources\shiboken6)... -- The C compiler identification is MSVC 19.44.35214.0 -- The CXX compiler identification is MSVC 19.44.35214.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- SHIBOKEN_IS_CROSS_BUILD: FALSE -- SHIBOKEN_BUILD_LIBS: ON -- SHIBOKEN_BUILD_TOOLS: ON -- BUILD_TESTS: 1 -- Using Qt 6 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE CMake Warning at cmake/ShibokenHelpers.cmake:211 (_message): Call Stack (most recent call first): ApiExtractor/CMakeLists.txt:98 (message) -- Configuring done (5.7s) -- Generating done (0.7s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOCS CMAKE_RULE_MESSAGES OpenGL_GL_PREFERENCE QT_SRC_DIR Qt5Help_DIR -- Build files have been written to: C:/dev/PySideDoc/pyside-setup/build/.venv/build/shiboken6 [INFO]: -- Compiling module shiboken6... [102/158] Running generator for 'sample' test binding... qt.shiboken: (sample) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include (sample) Clang: 1 diagnostic messages: :0:0: warning: /Zc:__cplusplus: 'linker' input unused qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\expression.h:18: Enum 'Expression::Operation' (class: Expression) does not have a type entry (type systems: sample) (sample) [1191ms] Generated class model (124). [WARNING] (sample) [1191ms] Generated enum model (5). [OK] qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\handle.h:10: namespace 'Foo' does not have a type entry (type systems: sample) (sample) [1192ms] Generated namespace model (7). [WARNING] (sample) [1207ms] Resolved typedefs (36). [OK] (sample) [1208ms] Fixed class inheritance. [OK] (sample) [1213ms] Checked for inconsistencies in class model. [OK] qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\samplebinding\typesystem_sample.xml:479: Global function 'mathSum(int,int)' is specified in typesystem, but not defined. This could potentially lead to compilation errors. qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\samplebinding\typesystem_sample.xml:418: enum 'SampleNamespace::DerivedFromNamespace::SampleNamespace' is specified in typesystem, but not declared. (sample) [1216ms] Checked for inconsistencies in typesystem (470). [WARNING] (sample) [1217ms] Checked for inconsistencies in function modifications. [OK] (sample) [1222ms] Wrote log files. [OK] qt.shiboken: (sample) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\functions.h:54: There's no user provided way (conversion rule, argument removal, custom code, etc) to handle the primitive return type 'const int *' in function 'acceptIntReturnPtr(int x)'. (sample) [1480ms] Ran Source generator. [WARNING] (sample) [1566ms] Ran Header generator. [OK] Done, (sample) 1567ms, 6 warnings (3 known issues) [103/158] Running generator for 'smart' test binding... qt.shiboken: (smart) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include (smart) Clang: 1 diagnostic messages: :0:0: warning: /Zc:__cplusplus: 'linker' input unused (smart) [494ms] Generated class model (10). [WARNING] (smart) [494ms] Generated enum model (0). [OK] (smart) [495ms] Generated namespace model (6). [OK] qt.shiboken: (smart) C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\memory:3468: Stripping argument #1 of void std::unique_ptr::reset(std::unique_ptr::pointer) due to unmatched type "std::unique_ptr::pointer" with default expression "nullptr": Unable to translate type "std::unique_ptr::pointer": Cannot find type entry for "std::unique_ptr::pointer". (smart) [500ms] Resolved typedefs (26). [WARNING] (smart) [500ms] Fixed class inheritance. [OK] (smart) [500ms] Checked for inconsistencies in class model. [OK] (smart) [500ms] Checked for inconsistencies in typesystem (110). [OK] (smart) [500ms] Checked for inconsistencies in function modifications. [OK] (smart) [503ms] Wrote log files. [OK] (smart) [544ms] Ran Source generator. [OK] (smart) [559ms] Ran Header generator. [OK] Done, (smart) 560ms, 2 warnings [104/158] Running generator for 'Shiboken'... qt.shiboken: (shiboken) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include (shiboken) Clang: 1 diagnostic messages: :0:0: warning: /Zc:__cplusplus: 'linker' input unused (shiboken) [19ms] Generated class model (0). [WARNING] (shiboken) [19ms] Generated enum model (0). [OK] (shiboken) [19ms] Generated namespace model (0). [OK] (shiboken) [19ms] Resolved typedefs (0). [OK] (shiboken) [19ms] Fixed class inheritance. [OK] (shiboken) [19ms] Checked for inconsistencies in class model. [OK] (shiboken) [19ms] Checked for inconsistencies in typesystem (60). [OK] (shiboken) [19ms] Checked for inconsistencies in function modifications. [OK] (shiboken) [21ms] Wrote log files. [OK] qt.shiboken: (shiboken) No C++ classes found! (shiboken) [26ms] Ran Source generator. [WARNING] (shiboken) [27ms] Ran Header generator. [OK] Done, (shiboken) 27ms, 2 warnings [108/158] Running generator for 'minimal' test binding... qt.shiboken: (minimal) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include (minimal) Clang: 1 diagnostic messages: :0:0: warning: /Zc:__cplusplus: 'linker' input unused (minimal) [438ms] Generated class model (7). [WARNING] (minimal) [444ms] Generated enum model (0). [OK] (minimal) [444ms] Generated namespace model (0). [OK] (minimal) [445ms] Resolved typedefs (28). [OK] (minimal) [445ms] Fixed class inheritance. [OK] (minimal) [446ms] Checked for inconsistencies in class model. [OK] (minimal) [446ms] Checked for inconsistencies in typesystem (105). [OK] (minimal) [446ms] Checked for inconsistencies in function modifications. [OK] (minimal) [448ms] Wrote log files. [OK] (minimal) [468ms] Ran Source generator. [OK] (minimal) [473ms] Ran Header generator. [OK] Done, (minimal) 474ms, 1 warnings [125/158] Running generator for 'other' test binding... qt.shiboken: (other) Duplicate type entry: 'SharedPtr' qt.shiboken: (other) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\otherbinding\typesystem_other.xml:14:63: Warning: Duplicate type entry: 'SharedPtr'. qt.shiboken: (other) CLANG v0.64, builtins includes directory: C:\libclang\lib\clang\18\include (other) Clang: 1 diagnostic messages: :0:0: warning: /Zc:__cplusplus: 'linker' input unused (other) [1937ms] Generated class model (141). [WARNING] (other) [1937ms] Generated enum model (5). [OK] qt.shiboken: (other) C:\dev\PySideDoc\pyside-setup\sources\shiboken6\tests\libsample\handle.h:10: namespace 'Foo' does not have a type entry (type systems: other, sample, smart) (other) [1938ms] Generated namespace model (13). [WARNING] (other) [1960ms] Resolved typedefs (36). [OK] (other) [1960ms] Fixed class inheritance. [OK] (other) [1966ms] Checked for inconsistencies in class model. [OK] (other) [1968ms] Checked for inconsistencies in typesystem (504). [OK] (other) [1968ms] Checked for inconsistencies in function modifications. [OK] (other) [1973ms] Wrote log files. [OK] (other) [1996ms] Ran Source generator. [OK] (other) [2005ms] Ran Header generator. [OK] Done, (other) 2005ms, 4 warnings (2 known issues) [158/158] Linking CXX executable tests\dumpcodemodel\dumpcodemodel.exe [INFO]: Generating Shiboken documentation [1/1] Generating shiboken documentation HTML files Running Sphinx v7.4.7 loading translations [en]... done making output directory... done myst v3.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'replacements', 'substitution', 'html_image', 'strikethrough', 'amsmath', 'colon_fence', 'deflist', 'dollarmath', 'fieldlist', 'tasklist', 'html_admonition', 'smartquotes'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=6, heading_slug_func=None, html_meta={}, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 26 source files that are out of date updating environment: [new config] 26 added, 0 changed, 0 removed reading sources... [100%] typesystem_variables C:\dev\PySideDoc\pyside-setup\sources\shiboken6\doc\typesystem_variables.rst:169: WARNING: duplicate label checktype, other instance in C:\dev\PySideDoc\pyside-setup\sources\shiboken6\doc\typesystem_converters.rst looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [100%] typesystem_variables C:\dev\PySideDoc\pyside-setup\sources\shiboken6\doc\typesystem_arguments.rst:192: WARNING: undefined label: 'parent' generating indices... py-modindex done highlighting module code... writing additional pages... search done copying images... [100%] images/converter.png dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. [INFO]: Installing module shiboken6... [0/1] Install the project...-- Install configuration: "Release" [INFO]: Created C:\dev\PySideDoc\pyside-setup\build_history [INFO]: Preparing setup tools build directory. [INFO]: Copying files... [INFO]: Qt dependency DLLs (MSVC redist) will not be copied. [INFO]: running build_py [WARNING]: warning: build_py: byte-compiling is disabled, skipping. [INFO]: running build_ext [INFO]: --- Build completed (75s) [INFO]: running build [INFO]: Adding C:\libclang\bin as detected by LLVM_INSTALL_DIR to PATH [INFO]: Inserting path 'C:\libclang\bin' to environment [INFO]: Preparing setup tools build directory. [INFO]: Removing C:\dev\PySideDoc\pyside-setup\build\.venv\package [INFO]: Copying files... [INFO]: Making file C:\dev\PySideDoc\pyside-setup\build\.venv\package\shiboken6_generator\scripts\shiboken_tool.py. [INFO]: Qt dependency DLLs (MSVC redist) will not be copied. [INFO]: running build_ext [INFO]: --- Build completed (2s) [INFO]: running build [INFO]: Adding C:\libclang\bin as detected by LLVM_INSTALL_DIR to PATH [INFO]: Inserting path 'C:\libclang\bin' to environment [INFO]: ============================== [INFO]: Package version: 6.9.1 [INFO]: Build type: Release [INFO]: Build tests: 1 [INFO]: --- [INFO]: Make path: C:\Qt\Tools\Ninja\ninja.EXE [INFO]: Make generator: Ninja [INFO]: Make jobs: -j8 [INFO]: --- [INFO]: setup.py directory: C:\dev\PySideDoc\pyside-setup [INFO]: Build scripts directory: C:\dev\PySideDoc\pyside-setup\build_scripts [INFO]: Sources directory: C:\dev\PySideDoc\pyside-setup\sources [INFO]: make build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\build [INFO]: make install directory: C:\dev\PySideDoc\pyside-setup\build\.venv\install [INFO]: setuptools build directory: C:\dev\PySideDoc\pyside-setup\build\.venv\package [INFO]: setuptools install directory: C:\dev\PySideDoc\.venv\Lib\site-packages [INFO]: --- [INFO]: Python executable: C:\dev\PySideDoc\.venv\Scripts\python.exe [INFO]: Python includes: C:\Program Files\Python313\Include [INFO]: Python library: C:\Program Files\Python313\libs\python313.lib [INFO]: Python prefix: C:\dev\PySideDoc\.venv [INFO]: Python scripts: C:\dev\PySideDoc\.venv\Scripts [INFO]: Python arch: 64 [INFO]: --- [INFO]: Qt prefix: C:/Qt/6.9.1/msvc2022_64 [INFO]: Qt qmake: None [INFO]: Qt qtpaths: C:\Qt\6.9.1\msvc2022_64\bin\qtpaths.exe [INFO]: Qt version: 6.9.1 [INFO]: Qt bins: C:/Qt/6.9.1/msvc2022_64/bin [INFO]: Qt docs: C:/Qt/Docs/Qt-6.9.1 [INFO]: Qt plugins: C:/Qt/6.9.1/msvc2022_64/plugins [INFO]: --- [INFO]: OpenSSL dll directory: None [INFO]: ============================== [INFO]: Building module pyside6... [INFO]: Creating module build folder C:\dev\PySideDoc\pyside-setup\build\.venv\build\pyside6... [INFO]: Using UNITY build [INFO]: Qt Source dir: C:/Qt/6.9.1/Src/qtbase [INFO]: Output format will be HTML [INFO]: Configuring module pyside6 (C:\dev\PySideDoc\pyside-setup\sources\pyside6)... -- The C compiler identification is MSVC 19.44.35214.0 -- The CXX compiler identification is MSVC 19.44.35214.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- PYSIDE_IS_CROSS_BUILD: -- Shiboken6Config: Using default python: .abi3 -- Found Python: C:\dev\PySideDoc\.venv\Scripts\python.exe (found suitable version "3.13.5", minimum required is "3") found components: Interpreter Development Development.Module Development.Embed -- PYTHON_LIMITED_LIBRARIES: C:\Program Files\Python313\libs\python3.lib -- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: 'C:\Program Files\Python313\Include' -- SHIBOKEN_PYTHON_LIBRARIES computed to value: 'C:\Program Files\Python313\libs\python3.lib' -- libshiboken built for Release -- ****************************************************** -- ** PySide6 Limited API enabled. -- ****************************************************** -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- *** computed QT_INCLUDE_DIR as C:/Qt/6.9.1/msvc2022_64/include -- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.50.1.windows.1") -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) -- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) CMake Warning at cmake/PySideHelpers.cmake:134 (find_package): By not providing "FindQt6WebEngineQuick.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt6WebEngineQuick", but CMake did not find one. Could not find a package configuration file provided by "Qt6WebEngineQuick" with any of the following names: Qt6WebEngineQuickConfig.cmake qt6webenginequick-config.cmake Add the installation prefix of "Qt6WebEngineQuick" to CMAKE_PREFIX_PATH or set "Qt6WebEngineQuick_DIR" to a directory containing one of the above files. If "Qt6WebEngineQuick" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake/PySideSetup.cmake:168 (collect_optional_modules) CMakeLists.txt:12 (include) -- Could NOT find Qt6Pdf (missing: Qt6Pdf_DIR) CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message): Failed to find optional Qt component "Pdf". Expected Config file at "C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6Pdf/Qt6PdfConfig.cmake" does NOT exist Call Stack (most recent call first): cmake/PySideSetup.cmake:183 (find_package) CMakeLists.txt:12 (include) -- Could NOT find Qt6PdfWidgets (missing: Qt6PdfWidgets_DIR) CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message): Failed to find optional Qt component "PdfWidgets". Expected Config file at "C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsConfig.cmake" does NOT exist Call Stack (most recent call first): cmake/PySideSetup.cmake:183 (find_package) CMakeLists.txt:12 (include) -- Could NOT find Qt6RemoteObjects (missing: Qt6RemoteObjects_DIR) CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message): Failed to find optional Qt component "RemoteObjects". Expected Config file at "C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6RemoteObjects/Qt6RemoteObjectsConfig.cmake" does NOT exist Call Stack (most recent call first): cmake/PySideSetup.cmake:183 (find_package) CMakeLists.txt:12 (include) -- Could NOT find Qt6Scxml (missing: Qt6Scxml_DIR) CMake Warning at C:/Qt/6.9.1/msvc2022_64/lib/cmake/Qt6/Qt6Config.cmake:275 (message): Failed to find optional Qt component "Scxml".
  • Translations for qtbase do not appear

    Unsolved
    11
    0 Votes
    11 Posts
    120 Views
    L
    @Christian-Ehrlicher I have read that link, thanks. The appropriate part was Deploy Translations. On PCLinuxOS, where I did the translations for qtbase: Beyond placing the qtbase_lg.qm files with the other qtbase_*.qm files I do not do anything else. On Lubuntu I simply installed the operating system and set the locale to Luganda, since everything was already provided. The distribution has incorporated the translation which I had submitted to Qt. list itemI have further investigated and find that, on Lubuntu, when the program LXImage-Qt invokes the print dialog it comes up properly translated. Also the 'Open', 'Close', 'Save' etc buttons on all of the LXQt elements in Lubuntu come up translated. On PCLinuxOS they do not. On Lubuntu the program Leafpad doesn't get the translated buttons but it does get the fully translated print dialog. Firefox gets most (but not all) parts of the system print dialog translated. As per the suggestion of @jawadulhassan, it may be that some of the programs don't load qtbase_lg.qm via QTranslator.
  • CMake fails on every project (exit code 1) even after deleting build directory

    Unsolved
    5
    0 Votes
    5 Posts
    44 Views
    T
    ok, i reinstall qt and now it works.
  • QTableView (QHeaderView) sort indicator alignment

    Unsolved
    5
    0 Votes
    5 Posts
    176 Views
    P
    I also found a croppig problem each time a headerview style for an up-arrow or down-arrow has been set, it doesn't matter whether the style definition contains any attributes or not. Effect can be reproduced even by: QHeaderView::down-arrow { } Seems to be a bug in my eyes.
  • Impossible Generate Executable whit its dependecy

    Unsolved
    2
    0 Votes
    2 Posts
    29 Views
    SGaistS
    Hi, While 18 is large, it's not completely extraordinary (just take the Qt5 sources for an example of large qmake based project). However .pro files calling each other does not sound right. For "multi-projects" project, there is the subdirs template. I think you should check that as a starting point.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • QApplication and NSApplication

    Solved
    3
    0 Votes
    3 Posts
    55 Views
    M
    Hi @IgKh, Thanks a lot for this comprehensive response, this is much clearer now. Regards
  • Not compilated Qt from sources

    Unsolved
    6
    0 Votes
    6 Posts
    111 Views
    N
    Hello, All! I added zstd-v1.5.7-win64.zip , downloaded from here https://github.com/facebook/zstd/releases Added to the PATH variable a string C:\Prg\zstd-v1.5.7-win64\dll This compilation error has already disappeared. But there is another mistake. Although the instructions for installing Qt do not mention the zlib library as required for installation! Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/port_def.inc Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/port_undef.inc Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/port_def.inc Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/port_undef.inc Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/port_def.inc Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/port_undef.inc [29/21935] ACTION //third_party/devtools-frontend/src/front_end/third_party/acorn:devtools_entrypoint-bundle-copy(/C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/target_toolchain:x64) [30/21935] ACTION //third_party/devtools-frontend/src/front_end/third_party/intl-messageformat:devtools_entrypoint-bundle-bundle(/C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/target_toolchain:x64) FAILED: gen/third_party/devtools-frontend/src/front_end/third_party/intl-messageformat/intl-messageformat.js C:/Prg/Python/Python313/python.exe ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/node/node.py ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --config ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/third_party/intl-messageformat/intl-messageformat.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/third_party/intl-messageformat/intl-messageformat.js Traceback (most recent call last): File "C:\QtSource\qt6\qtwebengine\src\3rdparty\chromium\third_party\node\node.py", line 62, in <module> RunNode(sys.argv[1:]) ~~~~~~~^^^^^^^^^^^^^^ File "C:\QtSource\qt6\qtwebengine\src\3rdparty\chromium\third_party\node\node.py", line 57, in RunNode raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err)) RuntimeError: Command 'C:\Prg\nodejs\node.exe ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --config ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/scripts/build/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/third_party/intl-messageformat/intl-messageformat.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/third_party/intl-messageformat/intl-messageformat.js' failed Error: kill EPERM at ChildProcess.kill (node:internal/child_process:511:26) at ChildProcessWorker.forceExit (C:\QtSource\qt6\qtwebengine\src\3rdparty\chromium\third_party\devtools-frontend\src\node_modules\jest-worker\build\workers\ChildProcessWorker.js:307:17) at Timeout._onTimeout (C:\QtSource\qt6\qtwebengine\src\3rdparty\chromium\third_party\devtools-frontend\src\node_modules\jest-worker\build\base\BaseWorkerPool.js:188:16) at listOnTimeout (node:internal/timers:594:17) at processTimers (node:internal/timers:529:7) [31/21935] ACTION //third_party/devtools-frontend/src/front_end/third_party/lit:devtools_entrypoint-bundle-bundle(/C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/target_toolchain:x64) [32/21935] ACTION //third_party/devtools-frontend/src/front_end/core/platform:platform(/C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/target_toolchain:x64) [33/21935] CXX obj/third_party/protobuf/protobuf_lite/coded_stream.obj Примечание: включение файла: ../../../../../../../qt6/qtwebengine/src/3rdparty/chromium/third_party/protobuf/src\google/protobuf/io/coded_stream.h Примечание: включение файла: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\assert.h Примечание: включение файла: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\corecrt.h Примечание: включение файла: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xfacet Примечание: включение файла: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\xlocinfo Примечание: включение файла: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\__msvc_xlocinfo_types.hpp Примечание: включение файла: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include\clocale Примечание: включение файла: C:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt\locale.h [37/21935] ACTION //third_party/devtools-frontend/src/front_end/generated:generated(/C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/target_toolchain:x64) ninja: build stopped: subcommand failed. [3208/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\resourcemanager\qssgrendershaderlibrarymanager.cpp.obj FAILED: qtwebengine/src/core/Release/AMD64/QtWebEngineCore.stamp qtwebengine/src/core/Release/AMD64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp qtwebengine/src/core/Release/AMD64/QtWebEngineCore C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/Release/AMD64/QtWebEngineCore.stamp C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/Release/AMD64/obj/tools/v8_context_snapshot/v8_context_snapshot.stamp C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/Release/AMD64/QtWebEngineCore C:\Windows\system32\cmd.exe /C "cd /D C:\QtSource\ReleaseVS\Build\qtwebengine\src\core && C:\Prg\Ninja\ninja.exe -C C:/QtSource/ReleaseVS/Build/qtwebengine/src/core/Release/AMD64 QtWebEngineCore" [3210/13101] Automatic QML type registration for target QuickControls2Imagine [3211/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\extensionapi\qssgrenderextensions.cpp.obj [3212/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\extensionapi\qssgrenderhelpers.cpp.obj [3213/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\qssgdebugdrawsystem.cpp.obj [3214/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\resourcemanager\qssgrenderloadedtexture.cpp.obj [3215/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\resourcemanager\qssgrenderbuffermanager.cpp.obj [3216/13101] Building CXX object qtquick3d\src\runtimerender\CMakeFiles\Quick3DRuntimeRender.dir\rendererimpl\qssglightmapper.cpp.obj ninja: build stopped: subcommand failed. C:\QtSource\ReleaseVS\Build>rem cmake --build . --parallel 1 C:\QtSource\ReleaseVS\Build>cd C:/QtSource/ReleaseVS/Build C:\QtSource\ReleaseVS\Build>cmake --install . -- Install configuration: "Release" -- Installing: C:/QtSource/ReleaseVS/Lib/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfig.cmake -- Installing: C:/QtSource/ReleaseVS/Lib/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfigVersion.cmake -- Installing: C:/QtSource/ReleaseVS/Lib/lib/cmake/Qt6BuildInternals/Qt6BuildInternalsConfigVersionImpl.cmake -- Installing: C:/QtSource/ReleaseVS/Lib/lib/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake -- Installing: C:/QtSource/ReleaseVS/Lib/lib/cmake/Qt6BuildInternals/QtStandaloneTestTemplateProject Thanks! Sincerely, Navadvipa Chandra das.
  • Disable DPI scaling in QT 6?

    Unsolved
    3
    2 Votes
    3 Posts
    179 Views
    M
    @martin_ky That's what I've been doing for the app I'm developing, can this cause any problems for non resizable apps?
  • Issue with WIndowStaysOnTopHint on Linux RHEL8 with X11 Display. Qt version 5.15.3.

    Unsolved
    2
    0 Votes
    2 Posts
    26 Views
    SGaistS
    Hi, From the doc of WindowStaysOnTopHint: Informs the window system that the window should stay on top of all other windows. Note that on some window managers on X11 you also have to pass Qt::X11BypassWindowManagerHint for this flag to work correctly. Did you also set Qt::X11BypassWindowManagerHint ?
  • Installing CMake static target with QML module

    Unsolved
    2
    0 Votes
    2 Posts
    89 Views
    M
    Also facing the exact same issue.
  • 0 Votes
    3 Posts
    150 Views
    D
    are u solved now?
  • Using ASM (x86) with Qt on MacOS with CMake. How?

    Unsolved
    5
    0 Votes
    5 Posts
    130 Views
    JonBJ
    6502 assembly, simple, elegant :) Bit limited on memory though...
  • 0 Votes
    14 Posts
    218 Views
    M
    @Pl45m4 I'm too stupid to fix it myself, and like I said, no experience with C++ OOP, only with microcontrollers. Explain me this though, wouldn't QMovie and AnimatedImage be one of the most popular QObjects, since it allows you to use custom asset animations to create your own widgets with different states, for example here's one using a single .gif file for cursor hover/exit: [image: 2qoYcg0.gif] It's a lot easier to do stuff in animation programs, then to, for example, create a cavalier projection algorithm for Qt, to get this extrusion animation
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied