forked from qt-creator/qt-creator
CMakePM: Better error message when CMake file-api config is missing
Now the available configuration list is displayed, alongside with the hint that CMAKE_BUILD_TYPE or CMAKE_CONFIGURATION_TYPES needs to match / contain the "Build type" field. In order to test this just clear (or set a random value) in the "Build type" field and click "Re-configure with initial parameters" button. Fixes: QTCREATORBUG-25506 Change-Id: I44558c45c7050d03e72a3a0b9ce2c8d89bd6e4bc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -245,6 +245,7 @@ public:
|
||||
|
||||
class FileApiParser
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(FileApiParser)
|
||||
public:
|
||||
static FileApiData parseData(const QFileInfo &replyFileInfo, const QString& cmakeBuildType,
|
||||
QString &errorMessage);
|
||||
|
||||
Reference in New Issue
Block a user