<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>This is probably not so much related to GStreamer but more about how to link resources into projects. I have a .wav file used as an alertsound in a Qt project, and I want to include it with the executable so that I don&#8217;t have to distribute it separately.
There is a mechanism for doing this in the Qt Resource System, with an alias tag in the file attribute, but it doesn&#8217;t work, presumably because GStreamer bypasses the Qt framework when it sees filesrc in gst_parse_launch. More specifically, the code</div>
<div>&nbsp;</div>
<div>pipeline = gst_parse_launch(&quot;filesrc location=alertsound1.wav ! wavparse ! autoaudiosink&quot;, &amp;error);</div>
<div>&nbsp;</div>
<div>always causes the file alertsound1.wav to be read from the working directory regardless of which alias I have set up for it.&nbsp; I also tried fdsrc instead of filesrc but I couldn&#8217;t make that work either.</div>
<div>&nbsp;</div>
<div>ole</div>
<div>&nbsp;</div>
</font>
</body>
</html>