Are apps build with gotk3 self contained?

polaris · · 412 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I&#39;m building an app for linux with gotk3. If I build it with gtk 3.3.20, will it run properly on a system with gtk 3.18? Some CSS parameters like margin doesn&#39;t work on gtk 3.3.18. </p> <hr/>**评论:**<br/><br/>Bargalarg: <pre><p>The gotk3 project uses CGO to link to gtk3 libraries on a computer (so it is not statically compiled.) The rest of your question is not Go related, but gtk3 related, as in, &#34;what happens when a program using a later version of gtk3 is run on earlier versions of gtk3?&#34; Realistically, probably nothing good - especially because of the sweeping changes that were made in gtk+ 3.20.</p> <p>It is worth pointing out that if targetting earlier versions of gtk3 is important to you, the gotk3 github wiki addresses how to install the project in a way that targets specific earlier versions.</p></pre>karna22: <pre><p>Thanks.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

412 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传