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.

Bug 242444 - BUILD FAILED for qt dynamic library with "CONFIG += plugin"
Summary: BUILD FAILED for qt dynamic library with "CONFIG += plugin"
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-28 10:31 UTC by stakasha_
Modified: 2016-10-31 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
output of build action (885 bytes, text/plain)
2014-02-28 10:31 UTC, stakasha_
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stakasha_ 2014-02-28 10:31:27 UTC
Created attachment 145659 [details]
output of build action

Building of qt dynamic library fails if the option "CONFIG += plugin" is added to qt custom definitions. To reproduce this issue just create new qt dynamic library, add "CONFIG += plugin" option to custom definitions and run BUILD (output in attachment).

Seems that the reason is mismatching in target names. 
Qmake provides: (qt-Debug.mk)
QMAKE_TARGET  = QtDynamicLibrary_2
DESTDIR       = dist/Debug/GNU-Linux-x86/
TARGET        = libQtDynamicLibrary_2.so
TARGETD       = libQtDynamicLibrary_2.so

Netbeans provides: (Makefile-Debug.mk)
.build-conf: ${BUILD_SUBPROJECTS} nbproject/qt-${CND_CONF}.mk
	"${MAKE}" -f nbproject/qt-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/libQtDynamicLibrary_2.so.1.0.0

And if I change libQtDynamicLibrary_2.so.1.0.0 to libQtDynamicLibrary_2.so in Makefile-Debug.mk, everything builds successfully.


I often need to bulid qt plugins without sonames, but I cannot do this with netbeans now...