--- ./src/qml/qml.pro.orig
+++ ./src/qml/qml.pro
@@ -12,6 +12,8 @@
 
 DEFINES   += QT_NO_URL_CAST_FROM_STRING QT_NO_INTEGER_EVENT_COORDINATES
 
+unix:LIBS += -latomic
+
 msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x66000000
 msvc:DEFINES *= _CRT_SECURE_NO_WARNINGS
 win32:!winrt:LIBS += -lshell32
