zetaPRIME / MultiBound2

Starbound profile launcher: the rewrite
GNU Lesser General Public License v2.1
34 stars 3 forks source link

Building with QtCreator #2

Open nicofirst1 opened 4 years ago

nicofirst1 commented 4 years ago

I have cloned the repo but have no experinece with QtCreator. Once I open up the project, QtCreator is asking me to configure it. Since there are no suitable kits found I don't know what to do. Could you be a little more specific in the installation part please?

Kilkenni commented 6 months ago

I can be a little bit more specific about Linux installation. Once you've cloned the repo, open QtCreator, and open the project file for the repo (multibound2.pro). Build it (for example, via Main Menu > Build). If there are no errors in the console in QtCreator and Multibound executable is successfully created in the same directory (where the .pro file is), run it.

If installed not from its official site, QtCreator may lack some dependencies when building - for example, for RHEL Linux I missed qt6-qtdeclarative-devel and qt5-qtdeclarative-devel. Had to install those packages to get it working.

Nahere commented 1 month ago

Every single time I try and build this, no matter what I try, I get this error:

 ../../data/config.cpp: In function ‘void MultiBound::Config::load()’:
../../data/config.cpp:42:67: error: ‘DataLocation’ is not a member of ‘QStandardPaths’
   42 |     configPath = QStandardPaths::writableLocation(QStandardPaths::DataLocation); // already has "multibound" attached
      |                                                                   ^~~~~~~~~~~~

Any idea what I'm doing wrong, or what libraries I might need?