summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add changes file for Qt 5.12.8v5.12.85.12.8Antti Kokko2020-03-171-0/+20
| | | | | | | + 70b51e4ed384dd3c085a86584533513994310d7f Bump version Change-Id: I87f7a79208819679d75fe5cf37a0004bd41d1be1 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Merge remote-tracking branch 'origin/5.12.7' into 5.12Qt Forward Merge Bot2020-01-311-0/+20
|\ | | | | | | Change-Id: Ib36a222419bb71ec8b3f11cc96c2f8f1b1e573e7
| * Add changes file for Qt 5.12.7v5.12.75.12.7Antti Kokko2020-01-171-0/+20
| | | | | | | | | | | | | | | | | | + 6b9638e4b3f6f7db2a457ed44ec08371969fe7db Bump version + c35149b1bcc3956ca0b3a9c8e3c961df8142cf2e qdoc: Avoid errors related to PCH usage + af339b15c5a457334b531ac56ee4393f10df212f Bump copyright year Change-Id: I0795bafc94e929debf12d8adb19f5cb6d2188d37 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | Bump versionAlexandru Croitor2020-01-281-1/+1
|/
* Bump copyright yearJani Heikkinen2020-01-096-12/+12
| | | | | | Change-Id: I81c229523e0d896f25d6d961c9857b615218ecbb Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> (cherry picked from commit 47b91fe6ce0e56e8abc8b2a5e1ba5dbf4453e9f8)
* Merge remote-tracking branch 'origin/5.12.6' into 5.12Qt Forward Merge Bot2020-01-071-0/+25
|\ | | | | | | Change-Id: I6244a879f15657ac0c421309087e785b40f74f56
| * Add changes file for Qt 5.12.6v5.12.65.12.6Antti Kokko2019-11-061-0/+25
| | | | | | | | | | | | | | | | | | + 121887b051150af7490f79402248e92c7d7d0f0a distancefieldgenerator: Fix performance when selecting unicode ranges + 3480921b44f7a4dc8a38656a9722c1507a1b840a lupdate: Warn about calls with template literals + 74e3143bba2ab8c171c83e21876c80146d08934e Bump version Change-Id: Ieeb0f150f0e8e96105b4a91eeb49c8b53812b9cb Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | qdoc: Avoid errors related to PCH usageTopi Reinio2019-12-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial cherry-pick of commit 6a5fb1ef, originally merged to 5.13 branch. Remove whitespace from the default parameters passed to Clang, and add '-ferror-limit=0' to disable the error limit. This helps to ensure we get a usable precompiled header on all platforms. Fixes: QTBUG-75511 (cherry picked from commit 6a5fb1ef73fc7a917efe3670fcdfa7aa6e09df86) Change-Id: Ib7ea8f5be17d0ccddfd1fadf855cad9a7d9f4481 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* | Bump versionFrederik Gladhorn2019-11-071-1/+1
|/
* Bump versionFrederik Gladhorn2019-10-301-1/+1
|
* Merge "Merge remote-tracking branch 'origin/5.12.5' into 5.12"Qt Forward Merge Bot2019-09-071-0/+37
|\
| * Merge remote-tracking branch 'origin/5.12.5' into 5.12Qt Forward Merge Bot2019-09-071-0/+37
| |\ |/ / | | | | Change-Id: Iee0b05ae295b1337bebbdc3c457795dfc5b56ced
| * Add changes file for Qt 5.12.5v5.12.55.12.5Antti Kokko2019-09-031-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + b22049ea14b62a2a743fd5fbd23563c566ef528a qdoc: Add id attribute for all HTML headings + c7f96f5301c2e60d1c5ef1e945e70e921afc71ce Close the last SELECT query with pending results + 0d2a9408ed2a5c664330c5742c9afb610a6c7348 lupdate: Improve documentation of -recursive, -no-recursive + fcb96af0215a9ae070face3997cdf84dafc057e5 distancefieldgenerator: Fix cmap error for some fonts + 8e7db0dd1cdc63c962359b37f882643dd3ed0e1a distancefieldgenerator: Avoid exceeding max texture size + d7e346b58260b24e02c64f82b2900bfba5951330 distancefieldgenerator: Remove unused variable + a05eb132416fcce8eb6a9fb240d0867796ed9deb distancefieldgenerator: Fix crash with multiple textures + 73ecd39debe850c11293fcf175c1e2b637edc5f3 distancefieldgenerator: Fix failure reading CMAP for some fonts + 2ecbaa7c29de2350486c6e83375ba8c83fee6cda Qt Linguist: Document CMake macros + e42dd0a13ebf37f7402a4cf09a6fb62b8c740c76 qdoc: Avoid duplicating version strings in HTML <title> element + 86f264b491fced5efd37127ac1a31880fe909f5c Bump version + a9790627873d17f91f29c9bd8be0fb609ec29f03 CMake: Ensure unique lst file name in qt5_create_translation + a690022b7e56b2e36a95ef22b854af4c82c5fdc8 Qt Designer: Enable editing of current dates + 40a7f2c6469e1702e791c66414051fed385a7930 distancefieldgenerator: Fix garbled text with large fonts on little endian Change-Id: I9dcfc3d86ec7744aadeb24e4fc1b293503373d86 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* | lupdate: Warn about calls with template literalsKai Koehne2019-09-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | JS template literals do not really mix well with the Qt Linguist toochain, at least if template arguments are used: This makes the source string dynamic. So far qsTr(``) calls were just ignored. Now lupdate prints a warning. Task-number: QTBUG-76265 Change-Id: I935c382695a86ecd6fd076b31a68fa987be8fd84 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | distancefieldgenerator: Fix performance when selecting unicode rangesEskil Abrahamsen Blomfeldt2019-09-031-7/+14
|/ | | | | | | | | | | | | | | | | | | | | Calling the QItemSelectionModel::select() function that takes a single index is extremely slow, so for large ranges that span e.g. 20000 glyphs in the font, such as some of the Chinese ideographic ranges can, the application would appear to freeze for many seconds while updating the selections. Instead we use the overload that takes a QList. Metrics: For a specific CJK font, this reduces the time taken when selecting a single unicode range from 30 seconds to 70 ms. [ChangeLog][Distance Field Generator] Improved performance when selecting unicode ranges in large fonts. Task-number: QTBUG-77499 Change-Id: I7ed9bec26b3cbc7e273d305f270a4a6690a81407 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Doc: Update info on full-text searchLeena Miettinen2019-08-192-15/+6
| | | | | | | | | Update screenshot. Fixes: QTBUG-65064 Change-Id: Ic8d1201e0f2947419836d633bc53997d009d646e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Doc: Update screenshotsLeena Miettinen2019-08-198-0/+0
| | | | | | Change-Id: I31313d1d941a0fe37bd515b5e52b5a471e6167e5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* distancefieldgenerator: Fix garbled text with large fonts on little endianEskil Abrahamsen Blomfeldt2019-08-151-1/+1
| | | | | | | | | | | | | | | | | When writing the texture index of each glyph into the font, we would first do toBigEndian() on an int and then truncate this to quint16, causing the texture index to be 0 for all glyphs on little endian systems. This would cause glyphs that were not located in the first texture to be garbled in the output. [ChangeLog][distancefieldgenerator] Fixed broken text rendering when generating large glyph sets. Task-number: QTBUG-77501 Change-Id: I7c2d31a6e57182f440d7f78bd6305109846ccb75 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Qt Designer: Enable editing of current datesFriedemann Kleint2019-07-291-1/+5
| | | | | | | | | | | Qt Designer uses QLocale::ShortFormat for its date editor, which has a 2 digit year. This causes the year to expanded to the wrong year (99->1999) for the maximum value and other issues. Fix by making the year 4 digits. Change-Id: I6cb73c5027f340706f44cd5fe3bfec5e90facb46 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* CMake: Ensure unique lst file name in qt5_create_translationKai Koehne2019-07-111-1/+1
| | | | | | | | | | | | | | get_filename_component(... NAME_WE) will remove all suffixes, so files like myapp.de.ts and myapp.en.ts will return the same base name. To just remove the .ts, we could switch to NAME_WLE, but that was only introduced in CMake 3.14 it seems. But why bother at all? The lst file name doesn't have to be pretty... Fixes: QTBUG-76723 Change-Id: I42e46310fe5e9cfb0a82f303ade700f3f0b1b600 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Bump versionFrederik Gladhorn2019-07-011-1/+1
| | | | Change-Id: I692a0dadebd51ee082232a65284b3a233e57561a
* qdoc: Avoid duplicating version strings in HTML <title> elementTopi Reinio2019-05-311-11/+13
| | | | | | | | | | | | | | | | Commit 802aa37f introduced full version strings into the titles in HTML header. However, for pages that already included a prefix of the version information (e.g. 'Qt 5.13'), this meant that the version appeared now twice ('Qt 5.13 5.13.0'). This commit checks for the presence of a version prefix in the title and only appends the full version if one is not found or does not match with the project version (which for Qt modules is QT_VERSION). Fixes: QTBUG-74301 Change-Id: Iceb3cf8f0e0181709e547a87cb6e92a6a13dcfef Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Qt Linguist: Document CMake macrosKai Koehne2019-06-202-0/+127
| | | | | | Task-number: QTBUG-72159 Change-Id: I817e1d562675c0aa462706a1e90e758030ce7d1e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* distancefieldgenerator: Fix failure reading CMAP for some fontsEskil Abrahamsen Blomfeldt2019-06-201-1/+1
| | | | | | | | | | | | | If all the range offsets in the type 4 subtable in CMAP is equal to 0, there is no need for a glyph ID array, so this array can actually have zero length. We did not account for this, and would fail to read those fonts. Task-number: QTBUG-76188 Change-Id: I11873fba7214d179af1fcd7ccff9a9fd1c72ce10 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* distancefieldgenerator: Fix crash with multiple texturesEskil Abrahamsen Blomfeldt2019-06-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | We need to make sure the allocated area starts at (0,0), since we allocate a texture at [width x height], and this would be too small if it did not also account for possible gaps at the top of the cache. This happens because glyphs may sometimes end up at the edge between two textures, in which case we will reserve space for them in the second of the two even though this is not needed. So this is a deficiency in the cache logic itself, but we need to at least make sure it does not crash. [ChangeLog][distancefieldgenerator] Fixed possible crash when generating large number of glyphs with a small texture size. Task-number: QTBUG-76188 Task-number: QTBUG-76528 Change-Id: I84c87c72985f5b621d120e7526cfe071555fa7f8 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* distancefieldgenerator: Remove unused variableEskil Abrahamsen Blomfeldt2019-06-201-2/+0
| | | | | | | The total allocated area was never used. Change-Id: I1aad1d4349ec94e2ccc521903b304270decd1d0d Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* distancefieldgenerator: Avoid exceeding max texture sizeEskil Abrahamsen Blomfeldt2019-06-201-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since we use a single area allocator for all textures, a glyph on the edge between two textures, would end up spanning two textures. It would be assigned to the first, and which in turn would be expanded to account for the additional data. The result was that the texture height exceeded the maximum size set. This is actually an inherited problem from Qt Quick, but it happens more frequently with the distancefieldgenerator because you will typically generate a large number of glyphs, and also the default max size set is quite low to be on the safe side. The bandaid in this patch is to pad the texture height by the size of one glyph, which will for the most part get rid of the problem, except for fonts where a majority of glyphs exceed the em square. [ChangeLog][distancefieldgenerator] Fixed a bug where the generated textures might exceed the maximum height. Task-number: QTBUG-76528 Change-Id: I51487bbf7c46556b022bfd45cefc8776d0272de3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge "Merge remote-tracking branch 'origin/5.12.4' into 5.12"Qt Forward Merge Bot2019-06-172-1/+34
|\
| * Merge remote-tracking branch 'origin/5.12.4' into 5.12Qt Forward Merge Bot2019-06-172-1/+34
| |\ |/ / | | | | Change-Id: Ib726e156ac4c2cc8e939f0a395c954b666fd4e30
| * Add changes file for Qt 5.12.4v5.12.45.12.4Antti Kokko2019-05-231-0/+33
| | | | | | | | | | | | | | Change-Id: I95212a61dddc2f4bc0a7e3700c52679986188b77 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Bump versionFrederik Gladhorn2019-05-231-1/+1
| | | | | | | | Change-Id: I431c0fe718d173a6c45ade6b17b461586a5f0ca7
* | distancefieldgenerator: Fix cmap error for some fontsEskil Abrahamsen Blomfeldt2019-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We would accidentally use the raw field from the font without converting its endianness, thus we would sanity check against the wrong length and print out error messages for some perfectly valid cmap subtables. [ChangeLog][distancefieldgenerator] Fixed bug where the tool would fail for valid fonts with the message "end of cmap table reached when parsing subtable". Task-number: QTBUG-76188 Change-Id: I7f84f4e161da705b49423ed3cc16a78cee67c607 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | lupdate: Improve documentation of -recursive, -no-recursiveKai Koehne2019-06-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'the following' directories can be read in the sense that the arguments are positional, and that e.g. lupdate -no-recursive x -recursive y will scan x without subdirectories, but y with subdirectories. However this is not the case; -recursive and -non-recursive are binary options that affect all directories scanned in a run. Task-number: QTBUG-76243 Change-Id: I417a84708b7228890d0644aed582dbb9073de1a8 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* | Close the last SELECT query with pending resultsJarek Kobus2019-05-291-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Ensure we close the last SELECT query in case we read just one result. If we don't iterate over all results available, the query may block the database connection. The other database connection won't be able to interact with database until the open query is closed. Fixes: QDS-779 Change-Id: I30cece520918a10972deaa3d093ffaea11cab5c0 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | qdoc: Add id attribute for all HTML headingsTopi Reinio2019-05-061-5/+2
|/ | | | | | | | | | | | The HTML generator only added an id tag for h2 (\section1) headings for unknown reasons. \section2 and up relied on the obsolete method of using <a name="..."> anchors for the section headings. Remove this restriction to make the output more consistent. Change-Id: I577d62cf59cefd199224dacf29ced61518b4b7fc Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* Test that extraction of translations works from .qrc files with QtQuickCompilerSimon Hausmann2019-05-091-0/+2
| | | | | | | | | After commit f01e72a82b59c214ce4b0a6ecefb604bc66ddd3e in qtdeclarative, we can test this scenario now. Task-number: QTBUG-75501 Change-Id: I64baa98da6b17c24b1e309c4dc93525a4fa8d057 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Add build information for QDoc on Debian-based Linux distributionsRichard Weickelt2019-05-131-2/+11
| | | | | | | | | | | | | | For Debian-based Linux distributions, the installation instructions are a bit misleading. It is generally not necessary to install a full-fledged LLVM and the requirements for building and running are slightly different. This patch makes it clear which packages need to be installed and how LLVM_INSTALL_DIR needs to be configured in that case. Task-number: QTBUG-68477 Change-Id: I06397d0d16fb29aba07a399b35b6ae3b32d5c80e Reviewed-by: Martin Smith <martin.smith@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Assistant: Enable clear button in the index and search widgetsFriedemann Kleint2019-05-102-0/+2
| | | | | Change-Id: Ifa37e14c33982db6c936fe077ed0639feed091f1 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* Assistant: Highlight the whole search phrase if enclosed with quotesAndy Shaw2019-04-291-2/+5
| | | | | Change-Id: Idd65fa2c3313ca240b9c2721e886dd31ebfe7f00 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
* QDoc: Add llvm-config-9 as llvm detection candidatePaul Wicking2019-04-231-0/+1
| | | | | Change-Id: Iceeaa8f64e1168efb5f7e9133e5ef51e2dea367b Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/5.12.3' into 5.12Qt Forward Merge Bot2019-04-171-0/+24
|\ | | | | | | Change-Id: I46e92ea28189b7365b34ba42de395be5293ef2af
| * Add changes file for Qt 5.12.3v5.12.35.12.3Antti Kokko2019-04-051-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + b4597180191734ca128772d2b8547c6e6c08efa2 macdeployqt: Deploy the platforminputcontext plugins and vkb plugins + a7aaa84f0c18c150e7d7671663a175d99cad3d49 qtdiag/Windows: Output all graphics adapters + 11d01e3b74c84e465246a8f164b3f3b8ff92d8a4 Handle recursion depth errors when parsing JavaScript + 9b5c31944fb03eea6025186c27cf809cc4a9ae05 Designer: write out minimumSectionSize property before current size + 30616088b98b4f95f85993c069c8086d36151caa Handle recursion depth errors when parsing JavaScript in lupdate + c7dbb12a734b4203c3613ae3950b2e7729643d66 Use High DPI pixmaps in assistant + 44348513f90bd24674172b87a97e0c8b615a555a Bump version + 9c7502b0e5056da021ace0195e53d5b7b410120b Assistant: Rewrite the search result list formatting to use QTextStream + e9662ddd86f027bdbe617f5171cd63cae13b3845 qtattributionsscanner: Add "PackageComment" field + 9beac9838510e94338377fcd1cfc68b371f32a86 makeqpf: fix crash + 50335cb26bb88930f5e2a204642439cc9a4d2282 Mark throwRecursionDepthError() as final Change-Id: I68c23bd2395968511f70209bfcc9496355b0b734 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* | qdoc: Don't include shared comment nodes in summary sectionsTopi Reinio2019-04-101-0/+2
| | | | | | | | | | | | | | | | | | | | This caused empty table cells in 'Public Types' for several C++ classes. Task-number: QTBUG-74779 Change-Id: I701967e26955c7807e2f777bb43f67a0ea1c1edb Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Martin Smith <martin.smith@qt.io>
* | Fix a crash when closing the Manage Bookmarks dialogJarek Kobus2019-04-051-1/+2
| | | | | | | | | | | | | | | | | | | | Before, we have deleted the bookmarks dialog directly from it's closeEvent. It means that its closeEvent invocation wasn't finished yet -> crash. We use deleteLater now instead. Task-number: QTBUG-72218 Change-Id: Ia83f9d2027a63ccaccebe22a8e5d92e808bec2bd Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* | CMake: Fix policy warning CMP0058 when using qt_create_translation(...)Kai Koehne2019-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | Properly declare the generated _lst_file that lists all lupdate input files as a BYPRODUCT. This is required by the Ninja backend to properly track the build dependencies, and fixes a CMake warning CMP0058. Task-number: QTBUG-71354 Change-Id: Idb3481ef1f0d6763ce14849ca57cb12647d41703 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | lupdate: Escape special characters when processing QMLLucie Gerard2019-04-034-65/+69
| | | | | | | | | | | | | | | | | | The transcode function is now in a parser tool class. It is used by the cpp and qml parser. Fixes: QTBUG-40639 Change-Id: I3c9c9d137669900642a077cf81a739bfc31be800 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | qdoc: Add support for CMake commentsKai Koehne2019-04-022-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake uses # as a line comment marker. To detect CMake files we check for the suffix .cmake, or check whether the filename is "CMakeLists.txt". See also https://cmake.org/cmake/help/latest/manual/cmake-language.7.html [ChangeLog][qdoc] qdoc now uses #! as a snippet marker in .cmake, CMakeLists.txt files. Task-number: QTBUG-73058 Change-Id: I230b113f0d49dd487b0f1926c815295a8a660a27 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* | Convert \r into a numerical entityLucie Gerard2019-04-022-3/+3
| | | | | | | | | | | | Task-number: QTBUG-41562 Change-Id: If03df28095212f2ee9f74eeaf03c50a6f1203415 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | lupdate: Do not touch a translated file without target languageLucie Gerard2019-04-0221-14/+114
| | | | | | | | | | | | | | | | | | | | [ChangeLog][lupdate] lupdate will now generate an error if it is asked to update a .ts file with translations, but without a target language. This is to ensure that plural translations are not destroyed. Fixes: QTBUG-53775 Change-Id: I646c1f2ec42a32dbc1a4676ad784887613607b78 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Add forward looking after ColonLucie Gerard2019-04-013-2/+60
|/ | | | | | | | | | | | | | | | | | | Colons seen are remembered in order to identify a member or base class identifier. In case of declaration of a bit field, the colon should be ignored. If it is not, unexpected behaviors compromise the resolution of the context, when the context is not explicit in the tr() function. To differentiate between colons in a member or base class identifier, and colons in a bit field, this patch implements a heuristic: We parse forward to either a '{', or a ';'. If it is a semicolon we assume it's a bit field, if it is a curved open bracket we assume the colon is for a member or base class identifier. Related auto test in case of bitfields declaration added. Task-number: QTBUG-55479 Change-Id: I2ca1124c192e4ab16fd449afc634a5de5023f481 Reviewed-by: Kai Koehne <kai.koehne@qt.io>