Git Product home page Git Product logo

qtc-sourcetrail's People

Contributors

blurrylight avatar dhallas avatar jeandet avatar mlangkabel avatar mrexodia avatar neroburner avatar nyanpasu64 avatar st4ll1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qtc-sourcetrail's Issues

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"

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.

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 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

Qtc 4.13.x

Qt creator 4.13 has been released .
how we can port this to new qtc versions

"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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.