QNX 自托管开发者桌面
QNX Self-Hosted Developer Desktop

原始链接: https://devblog.qnx.com/qnx-self-hosted-developer-desktop-initial-release/

## QNX开发者桌面现已发布 QNX发布了其**QNX开发者桌面**的初始版本,这是一个在QNX 8.0上直接运行的自托管开发环境。 这消除了交叉编译的需要,简化了新手和移植Linux应用程序的开发。 该桌面环境基于XFCE和Wayland构建,包含编译器(clang, gcc)、Python、IDE(Geany, Emacs, Vim)、网页浏览器和文件管理等基本工具。 它预装了来自QNX开源仪表板的600多个独特端口,提供广泛的可用软件。 目前作为Ubuntu的QEMU镜像提供(计划支持Windows、macOS和树莓派),“快速启动目标镜像”可以通过QNX软件中心免费许可下载。 尽管此第一个版本仍在完善中,但它为构建和测试QNX应用程序提供了坚实的基础。 该团队欢迎反馈,并计划未来的更新侧重于稳定性、文档、CI集成和扩展的平台支持。

最近的 Hacker News 讨论集中在 QNX 软件系统发布自托管开发者桌面环境。这一消息引发了人们对 QNX 早期 Photon GUI 的怀旧,一位用户称其“近乎完美”。 评论者表达了兴奋和怀疑。虽然包含 Wayland 和 XFCE 令人感兴趣,但有人担心目前的实现依赖于 QEMU(在 Ubuntu 上的虚拟化),而不是直接在裸机上运行。 未来有希望推出原生树莓派镜像。然而,过去的 ownership 变更和不稳定的可用性政策让潜在用户犹豫不决。一些用户对现有的稳定 Linux 发行版感到满意,质疑在频繁更新的情况下增加复杂性的必要性。也有人表达了开源该项目的愿望。
相关文章

原文

Try out the initial release of the QNX Developer Desktop -- a self-hosted development environment for QNX. No more cross-compilation!

QNX Self-Hosted Developer Desktop -- Initial Release

The team and I are beyond excited to share what we've been cooking up over the last little while: a full desktop environment running on QNX 8.0, with support for self-hosted compilation! This environment both makes it easier for newly-minted QNX developers to get started with building for QNX, but it also vastly simplifies the process of porting Linux applications and libraries to QNX 8.0.

This self-hosted target environment is pre-loaded with many of the ports you'll find on the QNX Open-source Dashboard. (The portal currently includes over 1,400 ports across various targets, QNX versions, and architectures, of which more than 600 are unique ports!)

In this initial release, you can grab a copy of the QEMU image and give it a try for yourself. There's still so much more to add, but it's in a great place today for this first release. The team is really passionate about this one, and we're eagerly looking forward to your feedback!

For the initial release of Desktop, we tried to cover all the basics: windowing, terminal, IDEs, browser, file management, and samples. To that end, here's what makes up the QNX Developer Desktop:

  • A customizable XFCE desktop environment running on Wayland
  • The tools you need to compile and/or run your code (clang, gcc, clang++, Python, make, cmake, git, etc)
  • A web browser (can you join the QNX Discord from the QNX Desktop? 🏅👀)
  • Ports of popular IDEs/editors, like Geany, Emacs, Neovim, and vim
  • Thunar, for file management
  • Preloaded samples, like Hello World in C, C++, and Python, and GTK demos OpenGL ES demos
  • ... and of course, a terminal.

This environment runs as a virtual machine, using QEMU on Ubuntu. To try the image, you'll need:

(Keep in mind this is the first release, so it takes a minute to get started and it's a bit rough around the edges.)

With a free QNX license, you can find this release in QNX Software Center. On the Available tab of the Manage Installation pane, search for "quick start" and install the "QNX SDP 8.0 Quick Start Target Image for QEMU".

You'll find the image in your QNX installation directory, usually ~/qnx800/images by default. Follow the README.md file in the qemu directory to extract & combine the multiple QNX packages downloaded under the hood.

Next, follow the PDF instructions found in the new ./qemu_qsti/docs/ directory to install the required dependencies and boot up.

💡

If you experience any trouble starting the environment, check the PDF's Troubleshooting chapter, or come ask us on Discord.

This is just the very first release! Over the next few months and beyond, we'll drop more updates of Desktop. You can look forward to:

  • QEMU images for Windows & macOS, and native images for x86
  • A native Desktop image on Raspberry Pi
  • Enhanced documentation
  • Features to help use this self-hosted environment in CI jobs
  • More samples & stability
  • ... and more! Have suggestions? Let us know.

Lastly, if you want some help with your QNX journey, you can find the QNX team and community:

联系我们 contact @ memedata.com