Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2286

qbluetoothpermission_wrapper.cpp: No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.5.0
    • Build System
    • None
    • All

    Description

      I'm updating to 6.5.0 on and seing this error in both linux/win32:

      2023-04-07T08:46:04.0036698Z FAILED: PySide6/QtCore/CMakeFiles/QtCore.dir/PySide6/QtCore/qbluetoothpermission_wrapper.cpp.obj 2023-04-07T08:46:12.3972742Z C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\HostX64\x64\cl.exe /nologo /TP -DAVOID_PROTECTED_HACK -DNDEBUG -DPy_LIMITED_API=0x03060000 -DQT_CORE_LIB -DQT_LEAN_HEADERS=1 -DQT_NO_DEBUG -DQtCore_EXPORTS -DUNICODE -DWIN32 -DWIN64 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -D_UNICODE -D_WIN64 -I%SRC_DIR%\sources\pyside6\PySide6\QtCore\QtCore -I%SRC_DIR%\sources\pyside6\PySide6\QtCore -I%SRC_DIR%\sources\pyside6\PySide6 -I%SRC_DIR%\sources\pyside6\libpyside -external:I%PREFIX%\Library\include\qt6\QtCore -external:I%PREFIX%\Library\include\qt6 -external:I%PREFIX%\Library\lib\qt6\mkspecs\win32-msvc -external:I%PREFIX%\Library\include\shiboken6 -external:I%PREFIX%\include -external:W0 /Zc:wchar_t /GR /EHsc /DWIN32 /D_WINDOWS /D_SCL_SECURE_NO_WARNINGS -DNOMINMAX /O1 /DNDEBUG -std:c++17 -MD /Gy /Gw /EHsc -Zc:__cplusplus -permissive- -utf-8 /showIncludes /FoPySide6\QtCore\CMakeFiles\QtCore.dir\PySide6\QtCore\qbluetoothpermission_wrapper.cpp.obj /FdPySide6\QtCore\CMakeFiles\QtCore.dir\ /FS -c %SRC_DIR%\sources\pyside6\PySide6\QtCore\PySide6\QtCore\qbluetoothpermission_wrapper.cpp 2023-04-07T08:46:12.3983804Z c1xx: fatal error C1083: Cannot open source file: '%SRC_DIR%\sources\pyside6\PySide6\QtCore\PySide6\QtCore\qbluetoothpermission_wrapper.cpp': No such file or directory

       

      During the qt build I'm seeing the default permission feature is disabled (by default):

      FEATURE_permissions:BOOL=OFF

       

      I dont know if it comes from the pyside logic here:

       

      get_property(QtCore_disabled_features TARGET Qt${QT_MAJOR_VERSION}::Core 
                  PROPERTY QT_DISABLED_PUBLIC_FEATURES) 
      
      if("permissions" IN_LIST QtCore_disabled_features) 
         list(APPEND QtCore_DROPPED_ENTRIES QPermission 
              QBluetoothPermission QCalendarPermission QCameraPermission 
              QContactsPermission QLocationPermission QMicrophonePermission) 
         message(STATUS "Qt${QT_MAJOR_VERSION}Core: Dropping Permissions classes") 
      else() 
         list(APPEND QtCore_SRC 
              ${QtCore_GEN_DIR}/qbluetoothpermission_wrapper.cpp 
              ${QtCore_GEN_DIR}/qcalendarpermission_wrapper.cpp 
              ${QtCore_GEN_DIR}/qcamerapermission_wrapper.cpp 
              ${QtCore_GEN_DIR}/qcontactspermission_wrapper.cpp 
              ${QtCore_GEN_DIR}/qlocationpermission_wrapper.cpp 
              ${QtCore_GEN_DIR}/qmicrophonepermission_wrapper.cpp 
              ${QtCore_GEN_DIR}/qpermission_wrapper.cpp) 
      endif()

       

      but "permissions" does not seem to appear in that list which  contains only:

      QtCore_disabled_features=cpp_winrt;static;cross_compile;debug_and_release;separate_debug_info;appstore_compliant;simulator_and_device;force_asserts;framework;cxx20;cxx2a;cxx2b

       

      Attachments

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: