Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

error: mach-o string pool extends beyond end of file



  • Hi all! I'm new to Qt and trying to build my first app under Mac Catalina using virtual machine. Anyway...

    As I build the app, I'm getting the following error:

    :-1: error: mach-o string pool extends beyond end of file file 'mainwindow.o' for architecture x86_64
    :-1: error: linker command failed with exit code 1 (use -v to see invocation)

    I googled or a solution, but could find the exact one. Is the bug related to Xcode installed? What should I check or do in this case? Appreciate the help. Thanks!


  • Lifetime Qt Champion

    Hi and welcome to the forums.
    I dont know MacOS sadly
    but you will be asked the following

    What Qt version did you install?
    What XCode version?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    In addition to @mrjj, what are you trying to build ?


Log in to reply