Solved osx clang and "is not a valid Mach-O binary"
-
Using Qt 5.5.1 / creator, OSX 10.11.1 and clang I get dialogs that popup after the build (during start up of the program) that say:
'/Users/one/Documents/LibreCAD/plugins/Makefile' is not a valid Mach-O binary (invalid magic 23232323)
'/Users/one/Documents/LibreCAD/plugins/plugins.pro' is not a valid Mach-O binary (invalid magic 232d2d2d)
'/Users/one/Documents/LibreCAD/plugins/plugins.sln' is not a valid Mach-O binary (invalid magic 4d696372)
'/Users/one/Documents/LibreCAD/plugins/README.plugins' is not a valid Mach-O binary (invalid magic 46697273)
Any idea why this would be happening? The program successfully loads after dismissing these dialogs.
You can see the files here:
https://github.com/LibreCAD/LibreCAD/tree/master/plugins -
Hi,
Do you mean you get that when opening the plugins.pro file with Qt Creator ?
-
@SGaist It happens when loading the program via Creator -- when you would see a splash screen.
-
Any chance you are doing an in-source build ?
IIRC, that might be the kind of message you get when trying to load a file that's not a plugin using Qt's plugin system.
-