QTCreator Error When Copying Source Codes From Windows to Mac

Asked By 70 points N/A Posted on -
qa-featured

Hi,

I am a QTCreator 4.7.2 user. I was trying to copy the source from the QT development environment in Windows 7 to Mac. I am getting this error: “Could not decode “filename.cpp” while opening the cpp file. I don’t have any problem with the other modules. Filename.ui is editable, but only the source is giving the error.
 
How can I correct this error?
SHARE
Answered By 0 points N/A #147585

QTCreator Error When Copying Source Codes From Windows to Mac

qa-featured

Instead of using the QT Creator you can use any other emulator to open the.cpp files. I am also a coder and I mostly code in the Borland C compiler because it does not give any error like that.

  1. Download the Borland from a site and install it.
  2. Define the path of the libraries and the saved files.
  3. Open your project in it and see if it shows you any decent information about the code or the source that you are trying to use.
  4. Edit the code according to the source as you would transfer it from windows to mac so it requires few libraries to be added on so that you can use it perfectly.

 

Related Questions