Jump to content

Filepermissions/filepermissions.pro

From Qt Wiki

< Qt for HarmonyOS/qtohosextras doc/File Permissions Example

filepermissions.pro Example File

filepermissions/filepermissions.pro

Description

This file contains the qmake project configuration for the File Permissions example.

 QT += ohosextras

 SOURCES += \
     main.cpp

 target.path = $$[QT_INSTALL_EXAMPLES]/qtohosextras/filepermissions
 INSTALLS += target

Key Configurations

  • QT += ohosextras: Includes the Qt Ohos Extras module, which provides the file permissions and sharing APIs.
  • SOURCES += main.cpp: Specifies the C++ source file for the application.
  • INSTALLS += target: Configures the installation path for the example project.