.PRI File Extension

PRI files exist as 2 different types. Please find information about each of them below.

Type 1: Package Resource Index File

General Information

Title PRI File Extension
Extension .pri
Full Form Package Resource Index File
File Type Resource Index File
Developer Microsoft
MIME Type N/A

File Function

Primary Function Store resources
Additional Functions Index resources, Localization
Features Binary format, Compiled resources

File Characteristics

Quality High efficiency
Supports Layers N/A
Supports Transparency N/A
Editable Indirectly

Use Cases

Windows Apps Yes
Resource Management Yes
App Localization Yes

Security and Practices

Security Risks Low risk
Best Practices Version control, Backup

Historical/Version Information

Initial Release With Windows 8
Latest Version Corresponds to latest Windows SDK

Associated Types

Similar Extensions .resw, .resx, .rc

Software Compatibility

Software Usage Policy OS Compatibility
MakePRI Tool Free Windows
Windows 10 SDK Free Windows
Visual Studio Free, Paid versions Windows, Mac

Type 2: Qt Project Include File

If your .pri file is located in a different directory than your .pro file, Qt looks for the files listed in the .pri file in the same directory as the .pri file. Any relative path will be resolved fr...

General Information

Title PRI File Extension
Extension .pri
Full Form Qt Project Include File
File Type Configuration File
Developer The Qt Company
MIME Type text/plain

File Function

Primary Function Configuration inclusion
Additional Functions Code reuse, Build customization
Features Text-based, Qt QMake system

File Characteristics

Quality Depends on content
Supports Layers N/A
Supports Transparency N/A
Editable Yes

Use Cases

Application Development Yes
Project Management Yes
Build Configuration Yes

Security and Practices

Security Risks Insecure directives
Best Practices Code review, Path sanitization

Historical/Version Information

Initial Release 1990s
Latest Version Depends on Qt version

Associated Types

Similar Extensions .pro, .qrc, .qml

Software Compatibility

Software Usage Policy OS Compatibility
Qt Creator Free, Commercial Windows, Mac, Linux
Qt SDK Free, Commercial Windows, Mac, Linux