[Development] QTabBarPrivate::hoveredTabIndex() visibility

René J.V. Bertin rjvbertin at gmail.com
Thu Jul 6 13:53:35 CEST 2017


Hi,

Is QTabBarPrivate::hoveredTabIndex() supposed to be visible for software having "QT += widgets-private" in their .pro file?

I'm seeing this when I try to link my standalone version of the QMacStyle style against Qt 5.9.0 and 5.9.1 :

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names  -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -mmacosx-version-min=10.10 -Wl,-rpath, at executable_path/Frameworks -Wl,-rpath,/Volumes/VMs/Qt/5/5.9.1/clang_64/lib -single_module -dynamiclib -o libqaltmacstyle.dylib qcombobox.o qcommonstyle.o qstyleanimation.o qstylehelper.o qoperatingsystemversion.o qoperatingsystemversion_darwin.o main.o qmacstyle_mac.o moc_qmacstyle_mac_p.o  -F/Volumes/VMs/Qt/5/5.9.1/clang_64/lib -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL -framework AppKit -framework Carbon 
Undefined symbols for architecture x86_64:
  "QTabBarPrivate::hoveredTabIndex() const", referenced from:
      QMacStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const in qmacstyle_mac.o
ld: symbol(s) not found for architecture x86_64

Thanks,
René



More information about the Development mailing list