This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Netbeans generated *.pro file has a bad LIB line and its generated even if no other libraries are included. example: (LIB += . . . . . . . .) The above series of dots is always appended in the generated *.pro file in QT projects including the sample project. This causes the linker to fail with: ld: can't map file, errno=22 file '.' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [dist/Debug/Qt5.6-MacOSX/HelloQtWorld] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 7s) The seems to be a regression that was probably introduced in early June 2016 but I don't have access to the builds to pin point exactly which nightly build. It's not present in 8.1 and only effects OS X.
regression after fixing bug #255959
fixed, change set cc35fe009918 on enum
https://netbeans.org/bugzilla/show_bug.cgi?id=267371 Changesets: http://hg.netbeans.org/releases/rev/cc35fe009918 # fixed #267371 - Qt projects fail to build on OS X
Integrated into 'main-silver', will be available in build *201704140002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/17968a094bfa User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #267371 - Qt projects fail to build on OS X (transplanted from cc35fe00991853ab8a912ee29e0698f37eef3816)
Verified in NetBeans IDE 8.2 (Build 201704181436)
*** Bug 270510 has been marked as a duplicate of this bug. ***