From the repository installed qt-5 . QtCreator v 3.0.1. Does not see the classes QMessageBox , QTcpSocket and others .. Writes No such file or directory And the installation did not automatically kit , so qmake had to manually select /usr/lib/x86_64-linux-gnu/qt4/bin/qmake . For version 5, it writes: Qt version is not properly installed, please run make install .
What's wrong with this QtCreator , is there any alternative to it other than QDevelop ?

UPD

I downloaded from the official site, now qmake 5 version does not give an error. But classes still do not see


Solution: for each class you need to add your links to the .pro file. For QDialog write QT + = widget, for QTcpSocket QT += network

  • And why put from the repository? Ubuntu's classmate, he downloaded the installer from the site's office, and everything is cool with him. - Vyacheslav Savchenko
  • @ VyacheslavSavchenko now try to download from the site of the site - Herrgott
  • @ VyacheslavSavchenko does not work, or rather the same thing - Herrgott
  • four
    For QTcpSocket make sure that the .pro file has a QT += network record, and the appropriate #include <QTcpSocket> header is connected in the source. With other classes it is similar: look for the description of a class and check that all necessary conditions are fulfilled. - αλεχολυτ
  • I do not know how to linux, but on Windows for each compil you need your own qmake, mb I'm wrong, if so, please fix it. - Vyacheslav Savchenko

0