diff --git a/configure.ac b/configure.ac
index fc5e5a52eee89006df36c5b46139483b5c78f36a..c12172764d702adf37d9381cf55e7ebff9add719 100644
--- a/configure.ac
+++ b/configure.ac
@@ -491,7 +491,14 @@ if test "$relativeprefix" = "yes" ; then
 fi
 
 dnl Set PACKAGE_LOCALE_DIR in config.h.
-DATADIRNAME=share
+case "$target_os" in
+	*qnx*)
+		DATADIRNAME=app/native/assets
+	;;
+	*)
+		DATADIRNAME=share
+	;;
+esac
 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${package_prefix}/${DATADIRNAME}/locale",[Defines the place where locales can be found])
 
 AC_DEFINE_UNQUOTED(PACKAGE_DATA_DIR, "${package_prefix}/${DATADIRNAME}",[Defines the place where data are found])
diff --git a/tester/liblinphone_tester.c b/tester/liblinphone_tester.c
index dc844e53985b3103c4dd2c9ea35dcb7a0ebc69ed..9f654542cc8696c355928f263c0fd32c5787f32b 100644
--- a/tester/liblinphone_tester.c
+++ b/tester/liblinphone_tester.c
@@ -46,8 +46,12 @@ const char* test_route="sip2.linphone.org";
 #if WINAPI_FAMILY_PHONE_APP
 const char *liblinphone_tester_file_prefix="Assets";
 #else
+#ifdef __QNX__
+const char *liblinphone_tester_file_prefix="./app/native/assets/";
+#else
 const char *liblinphone_tester_file_prefix=".";
 #endif
+#endif
 
 const char *userhostsfile = "tester_hosts";