I was only able to crash it with the Mer plugin (not in tree).
Change-Id: Ie478f74c48ac6686418207fd1af8b727bcfed3cd
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Some topics had ended up in the wrong top level topic,
as compared with the manual structure.
Change-Id: I03bc2fa2c0cbc8492c2bcec58eeddcd04d249a96
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
We removed support for non default properties in the navigator.
But the model still allows QML code like this: toolBar: ToolBar {...}
In this case ToolBar is not visible in the navigator. But the ToolBar
is available/visible in the form editor. Reparenting anything to ToolBar did
crash. Eventually we have to re enable non default properties, but this
patch only fixes the crash.
Task-number: QTCREATORBUG-15111
Change-Id: Ifa037975c99762fb8067afffa118332044842d7f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
If we've parsed an error message from the application's stderr we can
stop trying to connect.
Change-Id: I8d58e5db19de3253681c52be1637cfddfd46a519
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
The editor is initialized with a SLOT reference to view.
Change-Id: Ia793878f12c8caf8a71b565f78bf05db6bac74ca
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
Change-Id: Ic9f87bdb8da36db5371349fb1987d2e9fe66665e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
warning: 'label' may be used uninitialized in this function
I know it doesn't make sense... :)
Change-Id: I954ea725f7437d4b31f836134bf59b10f9fbee01
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Using Q_INVOKABLE in class members led to endless loop.
Other qualifiers like Q_SLOT or virtual do work.
Task-number: QTCREATORBUG-15347
Change-Id: Id25ee7970b49ed815a86fa76af6cbb3a06405971
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Use Clazy fix-old-style-connect to turn most connects to Qt5 style.
Change-Id: Ib81da329a7c1f5cf3e76536cbcc729a5c5d6dd56
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
...and rename the member variables accordingly.
Change-Id: I5dfc4e76efdec5e1b3267710ec1e06c500a61763
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
...which was least buggy.
The bugs fixed by the changes we revert here (highlighting/completion
for code involving templates) were minor compared to ones we currently
have. Those bugs will be addressed by the clang code model anyway.
Relevant commits were collected via:
$ cd ${QTC}/src/libs/cplusplus
$ git log \
--no-merges \
--format=oneline \
v3.4.2..HEAD \
-- LookupContext.* ResolveExpression.* TypeResolver.* TypeOfExpression.* \
../../plugins/cpptools/cppcompletion_test.cpp
From this list the following were skipped due to irrelevance:
88c5b47e53 # CppTools: Minor cleanup in completion tests
e5255a1f5c # CppTools: Add a test for ObjC not replacing dot with arrow
5b12c8d63a # CppTools: Support ObjC in member access operator tests
9fef4fb9ca # CPlusPlus: Fix warnings about overriding visit(...) methods
There were only minor conflicts while reverting those.
This changes touches so many files because there were quite some
cleanups and renames after the 3.4.2 release.
Task-number: QTCREATORBUG-14889
Task-number: QTCREATORBUG-15211
Task-number: QTCREATORBUG-15213
Task-number: QTCREATORBUG-15257
Task-number: QTCREATORBUG-15264
Task-number: QTCREATORBUG-15291
Task-number: QTCREATORBUG-15329
Change-Id: I01f759f8f35ecb4228928a4f22086e279c1a5435
Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
Because the model editor does not generate code from the
diagrams and is therefore mainly meant for documenting code.
Change-Id: I43d2dd3436df4914f5be6f8b2f52586de1522138
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>