diff --git a/Makefile b/Makefile
index 495ea9fcedf9823bef4b34a3100be4698a9b088c..b230e127645bf88869ee4ccfe18b0b872be71397 100644
--- a/Makefile
+++ b/Makefile
@@ -168,12 +168,13 @@ clean:
 ########################################################################
 # tests
 #########################################################################
-
+qmllint:
+	@qmllint gui/qml/*.qml
 
 test:
 	@go test -tags "integration $(TAGS)" ./pkg/...
 
-test_ui: golib
+test_ui: build_golib
 	@qmake -o tests/Makefile test.pro
 	@make -C tests clean
 	@make -C tests