how to uninstall Qt5

Question!

Somehow I ended up with 2 version of Qt on my Ubuntu 14.04 LTS machine, Qt4 and Qt5. Here is the output of qtchooser -list-versions

4
5
config
default
qt4-i386-linux-gnu
qt4-x86_64-linux-gnu
qt4
qt5-x86_64-linux-gnu
qt5

How do I remove qt5?

By : flashburn


Answers

Just remove the Qt5 dev packages, that should do it:

sudo apt autoremove '.*qt5.*-dev'

Inspect the shown list of packages to be removed carefully before hitting yes, though! If there are some you want to keep, do apt install for them to mark them manually installed.

By : hyde


How could you?

int** matrixArray = new int*[matrixSize];

is a local variable inside the constructor, thus matrixArray is only visible inside the constructor.

Use the data member instead and you will be fine, and since you already have defined that member, you should just do this:

matrixArray = new int*[matrixSize];

Don't forget to delete your memory in the destructor! ;)

By : gsamaras


position: relative;

should be on the parent element of nav and topsearch, for example the body.

.top-search {
  position: absolute; // or position: fixed;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 9999;
}
By : poashoas


This video can help you solving your question :)
By: admin