<p>If the &quot;offscreen&quot; plugin is missing, you may need to rebuild Qt with the necessary platform plugins. First, ensure you have the Qt source code:</p>
<pre><code> ```bash
 git clone https://code.qt.io/qt/qt5.git
 cd qt5
 git checkout &lt;qt_version_tag&gt;  # Replace &lt;qt_version_tag&gt; with the desired version tag, e.g., 5.15.2
 ```
</code></pre>
<ul>
<li><p>Then configure and build Qt with the necessary platform plugins:</p>
<pre class="lang-bash prettyprint-override"><code>./configure -prefix /path/to/qt -opensource -confirm-license -nomake examples -nomake tests
make
make install
</code></pre>
<p>Replace <code>/path/to/qt</code> with the desired installation path.</p>
</li>
</ul>
<p>After rebuilding Qt, you can follow the previous steps to rebuild Bitcoin Core and run it. This should ensure that the required Qt platform plugins, including &quot;offscreen,&quot; are available.</p>
<p>Remember to replace <code>&lt;qt_version_tag&gt;</code> with the actual version tag of the Qt version you want to build.</p>

CC BY-SA 4.0
2023-11-06T03:44:09.280Z
2023-11-06T03:44:09.280Z
Mani T
<p>The QT wallet does not start:</p>
<pre><code>./bitcoin-qt в ubuntu 20.04?  qt.qpa.plugin: Could not find the Qt platform plugin &quot;offscreen&quot; in &quot;&quot;                                                  

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.                                                                                                         

Available platform pl
</code></pre>
<p>tell me how to solve the problem? I installed dependencies with githab bitcoin core.</p>

<bitcoin-core><installation>
The QT wallet does not start
Александр Бородин
# The QT wallet does not start

(Asked by: username_0 on 2023-11-05)

The QT wallet does not start:
./bitcoin-qt в ubuntu 20.04?  qt.qpa.plugin: Could not find the Qt platform plugin "offscreen" in ""                                                  

This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.                                                                                                         

Available platform pl

tell me how to solve the problem? I installed dependencies with githab bitcoin core.

**Tags:** bitcoin-core, installation


---

## 1 answers

### Answer by username_1 on 2023-11-06. Score: 1

If the "offscreen" plugin is missing, you may need to rebuild Qt with the necessary platform plugins. First, ensure you have the Qt source code:
 ```bash
 git clone https://code.qt.io/qt/qt5.git
 cd qt5
 git checkout   # Replace  with the desired version tag, e.g., 5.15.2
 ```


Then configure and build Qt with the necessary platform plugins:
./configure -prefix /path/to/qt -opensource -confirm-license -nomake examples -nomake tests
make
make install

Replace /path/to/qt with the desired installation path.


After rebuilding Qt, you can follow the previous steps to rebuild Bitcoin Core and run it. This should ensure that the required Qt platform plugins, including "offscreen," are available.
Remember to replace  with the actual version tag of the Qt version you want to build.


---

