Filename Extensions
If you are seeking information about file extensions, then you are in the right place at right time.

Details of extension .moc

Below, you can find answers to the following questions:

  • What is the .moc file?
  • Which program can create the .moc file?
  • Where can you find a description of the .moc format?
  • What can convert .moc files to a different format?
  • Which MIME-type is associated with the .moc extension?

1 extension(s) and 0 alias(es) in our database

QT Meta-Object Compiler File .moc file icon

QT Meta-Object Compiler File

MOC file is a QT Meta-Object Compiler File. The Meta-Object Compiler, moc, is the program that handles Qt's C++ extensions. The moc tool reads a C++ header file. If it finds one or more class declarations that contain the Q_OBJECT macro, it produces a C++ source file containing the meta-object code for those classes.
Category: Development files
Application: QT
Program name: -
Mime-type: application/octet-stream
Magic bytes (HEX): -
Magic string (ASCII): -
Related extensions:
QT User Interface File
QT Style Sheet
QT Resource Collection File
Qt Compiled Translation Source
QT Help Collection
QT Help Collection Project
QT Help Project
QT Compressed Help
QT Vertex Shader

Other types of files may also use the .moc file extension. If you have helpful information about .moc extension, write to us!

Is it possible that the filename extension is misspelled?

We found the following similar extensions in our database:

Microsoft Image Composer File
HDD Camcorder Video Data
ArchiCAD Module File
Music Module MOD
Sendmail M4 Configuration Source
Windows Message Compiler Input
Managed Object Format File
GNU Gettext Machine Object File
QuickTime Movie

The .moc filename extension is often given incorrectly!

According to the searches on our site, these misspellings were the most common in the past year:

mod (30), mc (14), mic (12), mlc (9), loc (8), omc (6), mof (6), mo (6), mov (5), mpc (4), oc (4), mox (4), mos (4), mco (4)

Can't open a .moc file?

If you want to open a .moc file on your computer, you just need to have the appropriate program installed. If the .moc association isn't set correctly, you may receive the following error message:

Windows can't open this file:

File: example.moc

To open this file, Windows needs to know what program you want to use to open it. Windows can go online to look it up automatically, or you can manually select from a list of programs that are installed on your computer.

To change file associations:

  • Right-click a file with the extension whose association you want to change, and then click Open With.
  • In the Open With dialog box, click the program whith which you want the file to open, or click Browse to locate the program that you want.
  • Select the Always use the selected program to open this kind of file check box.

Supported operating systems

Windows Server 2003/2008/2012, Windows 7, Windows 8, Linux, FreeBSD, NetBSD, OpenBSD, Mac OS X, iOS, Android

Rate this page

4 / 5 based on 28 user ratings.