diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2012-12-06 11:45:12 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2012-12-06 11:45:12 +0200 |
commit | de40ba9361ffcd68f8f178fb586322e0cbf408a1 (patch) | |
tree | 466803e75dd34a8f6b7136ac8b09ef10b6a08075 | |
parent | d122b4d648ec6b4ec511605ee61b2bbd635f0770 (diff) |
qmlplayer: s/setenv/qputenv/, since setenv() apparently does not exist on windows
-rw-r--r-- | examples/qmlplayer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmlplayer/main.cpp b/examples/qmlplayer/main.cpp index 91c2510..ca8f0c0 100644 --- a/examples/qmlplayer/main.cpp +++ b/examples/qmlplayer/main.cpp @@ -32,7 +32,7 @@ int main(int argc, char **argv) { #if defined(QTVIDEOSINK_PATH) //this allows the example to run from the QtGStreamer build tree without installing QtGStreamer - setenv("GST_PLUGIN_PATH", QTVIDEOSINK_PATH, 0); + qputenv("GST_PLUGIN_PATH", QTVIDEOSINK_PATH); #endif QApplication app(argc, argv); |