qtc-sourcetrail's Issues
No downloadable plugin for QTC 4.10.2
When I install the plugin, I get an error dialog saying:
Could not resolve dependency 'Core(4.9.0)'
Could not resolve dependency 'CppEditor(4.9.0)'
I've tried the plugin qtc-sourcetrail-windows-x64-qtc4.9.zip
which most likely will not work with 4.10.2.
So basically the same problem as No Downloadable plugin for 4.9.1
Not able to navigate from Source Trail IDE into Qt Creator 4.10.1
I was just trying to use Source trail in Qt 4.10.
And I was not able to navigate from Source Trail to Qt creator.
I have also tried plugins based on this link [https://github.com/CoatiSoftware/qtc-sourcetrail]
But it didn't worked...
wrong PluginsPath
https://github.com/CoatiSoftware/qtc-sourcetrail#install
Download the libary from Releases and put it into the qtcreator plugins folder. To find out where the folder is located please check Help -> System Information... -> PluginsPath
It's wrong path.
On my machine:
PluginsPath: /var/home/bam/Qt/Tools/QtCreator/lib/Qt/plugins
Path needed:
/var/home/bam/Qt/Tools/QtCreator/lib/qtcreator/plugins/
The needed path is not present anywhere in Help -> System Information...
Was it there earlier ever?
No downloadable plugin for Creator 4.9.1
When I install the plugin, I get an error dialog saying:
Could not resolve dependency 'Core(4.8.0)'
Could not resolve dependency 'CppEditor(4.8.0)'
I've tried the plugin qtc-sourcetrail-osx-x64-qtc4.8.zip
which most likely will not work with 4.9.1.
So basically the same problem as Downloadable plugin works not for 4.7.0
Add qtc-sourcetrail to Qt plugin repo
qtc-sourcetrail can get mechanical adapted to API changes of qtc if you submit qtc-sourcetrail to the Qt Creator source on codereview.qt-project.org and it is accepted there.
x64 Windows release
Please provide x64 Windows binary not just x86.
Qtc 4.12 has been released
The Qtc 4.12 has been released on 23th April.
https://www.qt.io/blog/qt-creator-4.12-released
AFAIK, there is huge pain in plugins compatibility between Qtc's version. Does this plugin support 4.12?
Qtc 4.13.x
Qt creator 4.13 has been released .
how we can port this to new qtc versions
Downloadable plugin works not for 4.7.0
When I install the plugin, I get error messages saying:
Could not resolve dependency 'Core(4.4.0)'
Could not resolve dependency 'CppEditor(4.4.0)'
I've tried building it myself and changed in build.sh the download paths, but got then a compiler error:
src/sourcetrailplugin.cpp:37:10: fatal error: coreplugin/statusbarwidget.h: No such file or directory
#include <coreplugin/statusbarwidget.h>
I'm attaching the changed build.sh, but I had to rename it, otherwise I can't upload it here.
build.sh.txt
Works with Qt Creator 4.8.1
I tested with Qt Creator 4.8.1 and it works. On some linux distributions like Fedora, Qt5's qmake is suffixed, maybe the build script could be like:
if [ -x "$(command -v qmake-qt5)" ]; then
export QMAKE=qmake-qt5
elif [ -x "$(command -v qmake)" ]; then
export QMAKE=qmake
else
echo "Neither qmake nor qmake-qt5 found"
exit
fi
$QMAKE qtc-sourcetrail.pro -r "QTC_SOURCE=qt-src" "QTC_BUILD=qt-bin/lib/qtcreator" "LIBS+=-Lqt-bin/lib/qtcreator" "OUTPUT_PATH=output"
"Send Location to Sourctrail" is slow, hangs Qt Creator IDE for 3 seconds
In Qt Creator, if I trigger "Send Location to Sourctrail", Qt Creator freezes for 3 seconds, before Qt Creator unfreezes and Sourcetrail loads to the correct path (if the window is open).
I debugged Qt Creator in Visual Studio, paused it during the freeze, and got the following stack:
ntdll.dll!_NtWaitForSingleObject@12�() Unknown
mswsock.dll!SockWaitForSingleObject() Unknown
mswsock.dll!_WSPSelect@24�() Unknown
ws2_32.dll!select() Unknown
> Qt5Network.dll!QNativeSocketEnginePrivate::nativeSelect(int timeout, bool selectForRead) Line 1558 C++
Qt5Network.dll!QNativeSocketEngine::waitForWrite(int msecs, bool * timedOut) Line 1070 C++
Qt5Network.dll!QAbstractSocket::waitForConnected(int msecs) Line 2187 C++
Sourcetrail4.dll!61bf36d0() Unknown
Sourcetrail4.dll![Frames below may be incorrect and/or missing, no symbols loaded for Sourcetrail4.dll] Unknown
Sourcetrail4.dll!61bf3953() Unknown
msecs is 30000 (30 seconds) in waitForConnected
, and 29993 (just below 30 seconds) in waitForWrite
. I suspect that msecs was actually decremented within waitForConnected
before it was passed into waitForWrite
, but the debugger doesn't see the modified value because it was only modified in a register and not the argument stack, or something.
I took a minidump: qtcreator sourcetrail freeze.mini.dmp.zip. Contact me if you need the full 650MB heap dump.
Versions
- Windows 10 x64
- Qt Creator 4.12.1 (32-bit)
- Sourcetrail plugin 0.8.3
- Sourcetrail Version 2020.1.117 - 64 bit.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.