summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/createchangelog/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/createchangelog/main.go b/src/createchangelog/main.go
index 3bb757e0..ebb31d6e 100644
--- a/src/createchangelog/main.go
+++ b/src/createchangelog/main.go
@@ -88,7 +88,7 @@ func detectCurrentQtVersionFromQMakeConf() (*version.Version, error) {
return nil, fmt.Errorf("Error opening .qmake.conf - are you in the right directory?")
}
- moduleVersionRegExp := regexp.MustCompile(`\s*MODULE_VERSION\s*=\s*(` + version.VersionRegexpRaw + `).*`)
+ moduleVersionRegExp := regexp.MustCompile(`\s*MODULE_VERSION\s*=\s*([0-9\.]*).*`)
scanner := bufio.NewScanner(qmakeConfFile)
for scanner.Scan() {