<p>Problem is here:</p>

<pre><code>QApplication: No such file or directory
</code></pre>

<p>You might not have QT development files installed.</p>

<p>If using debian / ubuntu try:</p>

<pre><code>apt-get install libqt4-dev
</code></pre>

CC BY-SA 3.0
2015-03-27T18:51:39.720Z
Had to remove qt5-qmake and replace with qt4-qmake!
DeOxyRibose Acid
CC BY-SA 3.0
2018-04-13T04:03:24.790Z
Had to remove qt5-qmake and replace with qt4-qmake! -> how to do this?
creator
CC BY-SA 3.0
2015-03-23T18:30:05.113Z
2015-03-23T18:30:05.113Z
ethought
<p>Good Day!</p>

<p>I am trying to compile the Particle-Qt Client on Ubuntu 15.04 Vivid Velvet using GCC 5.0 &amp; libboost1.55</p>

<p>So my system is throwing errors, these are the following:</p>

<p>While executing <code>qmake</code>, I am getting this:</p>

<pre><code>Project MESSAGE: Building with UPNP support
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
Warning: ignoring &lt;defaultcodec&gt; element
</code></pre>

<p>And When Executing Make I am getting:</p>

<pre><code>cd /media/red_gene/DeOxyRibose/Particle_REACQ/src/leveldb &amp;&amp; CC=gcc CXX=g++ make OPT="-m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a
make[1]: Entering directory '/media/red_gene/DeOxyRibose/Particle_REACQ/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/media/red_gene/DeOxyRibose/Particle_REACQ/src/leveldb'
cd /media/red_gene/DeOxyRibose/Particle_REACQ; /bin/sh share/genbuild.sh /media/red_gene/DeOxyRibose/Particle_REACQ/build/build.h
fatal: Not a git repository (or any parent up to mount point /media/red_gene/DeOxyRibose)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
g++ -c -m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o build/bitcoin.o src/qt/bitcoin.cpp
src/qt/bitcoin.cpp:5:24: fatal error: QApplication: No such file or directory
compilation terminated.
Makefile:1106: recipe for target 'build/bitcoin.o' failed
make: *** [build/bitcoin.o] Error 1
</code></pre>

<compiling><quarkcoin>
Unable to Compile Particle-Qt using qmake in Ubuntu 15.04
DeOxyRibose Acid
# Unable to Compile Particle-Qt using qmake in Ubuntu 15.04

(Asked by: username_0 on 2015-03-22)

Good Day!

I am trying to compile the Particle-Qt Client on Ubuntu 15.04 Vivid Velvet using GCC 5.0 & libboost1.55

So my system is throwing errors, these are the following:

While executing `qmake`, I am getting this:

```
Project MESSAGE: Building with UPNP support
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Removed plural forms as the target language has less forms.
If this sounds wrong, possibly the target language is not set or recognized.
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element
Warning: ignoring <defaultcodec> element

```

And When Executing Make I am getting:

```
cd /media/red_gene/username_0/Particle_REACQ/src/leveldb && CC=gcc CXX=g++ make OPT="-m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2" libleveldb.a libmemenv.a
make[1]: Entering directory '/media/red_gene/username_0/Particle_REACQ/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/media/red_gene/username_0/Particle_REACQ/src/leveldb'
cd /media/red_gene/username_0/Particle_REACQ; /bin/sh share/genbuild.sh /media/red_gene/username_0/Particle_REACQ/build/build.h
fatal: Not a git repository (or any parent up to mount point /media/red_gene/username_0)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
g++ -c -m64 -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o build/bitcoin.o src/qt/bitcoin.cpp
src/qt/bitcoin.cpp:5:24: fatal error: QApplication: No such file or directory
compilation terminated.
Makefile:1106: recipe for target 'build/bitcoin.o' failed
make: *** [build/bitcoin.o] Error 1

```

**Tags:** compiling, quarkcoin


---

## 1 answers

### Answer by username_1 on 2015-03-23. Score: 2

Problem is here:

```
QApplication: No such file or directory

```

You might not have QT development files installed.

If using debian / ubuntu try:

```
apt-get install libqt4-dev

```

> **Comments:**
> **username_0**: Had to remove qt5-qmake and replace with qt4-qmake!  
> **username_2**: Had to remove qt5-qmake and replace with qt4-qmake! -> how to do this?  

---

