Use a filename relative to the bibliography file?
The relative path would be
%1
The absolute path would be
%2
", relativeFilename, absoluteFilename, QFontDatabase::systemFont(QFontDatabase::FixedFont).family()), i18n("Relative Path"), KGuiItem(i18n("Relative Path")), KGuiItem(i18n("Absolute Path"))) == KMessageBox::Yes)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /usr/src/RPM/BUILD/kbibtex-0.9/src/gui/field/fieldlistedit.cpp:39:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here
143 | ButtonCode questionYesNo(QWidget *parent,
| ^~~~~~~~~~~~~
make[2]: Leaving directory '/usr/src/RPM/BUILD/kbibtex-0.9/BUILD'
make[2]: Entering directory '/usr/src/RPM/BUILD/kbibtex-0.9/BUILD'
[ 63%] Building CXX object src/gui/CMakeFiles/kbibtexgui.dir/field/fieldlineedit.cpp.o
cd /usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/gui && /usr/bin/c++ -DHAVE_ICU -DHAVE_KF5 -DHAVE_QTWIDGETS -DKCOREADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"kbibtex\" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -Dkbibtexgui_EXPORTS -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/gui -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/gui/kbibtexgui_autogen/include -I/usr/src/RPM/BUILD/kbibtex-0.9/src/config -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/config -I/usr/src/RPM/BUILD/kbibtex-0.9/src/data -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/data -I/usr/src/RPM/BUILD/kbibtex-0.9/src/io -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/io -I/usr/src/RPM/BUILD/kbibtex-0.9/src/io/config -I/usr/src/RPM/BUILD/kbibtex-0.9/src/networking -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/networking -I/usr/src/RPM/BUILD/kbibtex-0.9/src/processing -I/usr/src/RPM/BUILD/kbibtex-0.9/BUILD/src/processing -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/file -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/dialogs -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/element -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/field -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/widgets -I/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/config -I/usr/src/RPM/BUILD/kbibtex-0.9/src/global -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/share/qt5/../../lib/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KTextEditor -isystem /usr/include/KF5/KParts -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KIOCore -isystem /usr/include/KF5/KIO -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KConfig -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KAuthWidgets -isystem /usr/include/KF5/KAuthCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KTextWidgets -isystem /usr/include/KF5/SonnetUi -isystem /usr/include/KF5/Sonnet -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KSyntaxHighlighting -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/poppler/qt5 -isystem /usr/include/poppler -isystem /usr/include/KF5/KIOFileWidgets -isystem /usr/include/KF5/KBookmarks -isystem /usr/include/KF5/KWallet -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -O2 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/gui/CMakeFiles/kbibtexgui.dir/field/fieldlineedit.cpp.o -MF CMakeFiles/kbibtexgui.dir/field/fieldlineedit.cpp.o.d -o CMakeFiles/kbibtexgui.dir/field/fieldlineedit.cpp.o -c /usr/src/RPM/BUILD/kbibtex-0.9/src/gui/field/fieldlineedit.cpp
/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/field/fieldlineedit.cpp: In constructor 'FieldLineEdit::FieldLineEditPrivate::FieldLineEditPrivate(KBibTeX::TypeFlag, KBibTeX::TypeFlags, FieldLineEdit*)':
/usr/src/RPM/BUILD/kbibtex-0.9/src/gui/field/fieldlineedit.cpp:81:103: warning: 'void QSignalMapper::mapped(int)' is deprecated: Use QSignalMapper::mappedInt(int) instead [-Wdeprecated-declarations]
81 | connect(menuTypesSignalMapper, static_cast