Giter VIP home page Giter VIP logo

mneuroth / sciteqt Goto Github PK

View Code? Open in Web Editor NEW
72.0 7.0 7.0 9.46 MB

A port of the SciTE text editor to the Qt QML/Quick, which is optimized for touch devices.

Python 2.81% Objective-C 0.21% Objective-C++ 2.45% C++ 64.24% Shell 0.07% Batchfile 0.13% HTML 19.33% Makefile 2.22% C 7.88% PHP 0.02% Lua 0.01% Module Management System 0.01% Nim 0.01% Perl 0.11% Raku 0.17% Ruby 0.03% Tcl 0.01% Visual Basic .NET 0.01% QMake 0.28% Roff 0.01%

sciteqt's Issues

running MacOS binary fails

When I right click and open to bypass the app signature requirement, the app does not open. So in terminal I ran ./sciteqt.app/Contents/MacOS/sciteqt and got the following output:

QQmlApplicationEngine failed to load component
qrc:/app.qml:2541:5: Type SupportDialog unavailable
qrc:/SupportDialog.qml:14:1: Type SupportDialogForm unavailable
qrc:/SupportDialogForm.ui.qml:10:1: module "QtQuick.Layouts" version 1.15 is not installed

Seems there is a dependency missing...do I need to install some form of Qt for this to work?

BTW I also tried windows version which installed just fine and, while the editor opened, it did not open as a window...it opened in the upper left part of the screen and did not have a window support (e.g. no window bar).

Latest Windows release hangs

Hi,

Great project 👍
I tried the latest release (all three .exe installers) and when SciteQt window opens, it's blank, hangs, and uses one CPU core to the max.
I'm on Windows 10 x64.

Regards

Compile on Linux fails

I am using Debian sid (with qt 5.15.5) but I am getting this errors during the compile process:

Info: creating stash file /home/mte90/Desktop/kde/SciTEQt/.qmake.stash
Reading /home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro
Reading /home/mte90/Desktop/kde/SciTEQt/scite/qt/qt.pro
cd scintilla/qt/ScintillaEditBase/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase/ScintillaEditBase.pro ) && make -f Makefile 
make[1]: ingresso nella directory «/home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase»
g++ -c -pipe -O2 -fPIC -std=gnu++1z -Wall -Wextra -D_REENTRANT -DSCINTILLA_QT_QML=1 -DMAKING_LIBRARY=1 -DSCI_LEXER=1 -D_CRT_SECURE_NO_DEPRECATE=1 -DNDEBUG=1 -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../src -I../../lexlib -I../../lexilla/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o PlatQt.o PlatQt.cpp
PlatQt.cpp: In member function ‘Scintilla::PRectangle Scintilla::Window::GetMonitorRect(Scintilla::Point)’:
PlatQt.cpp:851:83: warning: ‘const QRect QDesktopWidget::availableGeometry(const QPoint&) const’ is deprecated: Use QGuiApplication::screenAt() [-Wdeprecated-declarations]
  851 |  QRect rectScreen = desktop->availableGeometry(QPoint(posGlobal.x(),posGlobal.y()));
      |                                                                                   ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDesktopWidget:1,
                 from PlatQt.cpp:42:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdesktopwidget.h:89:68: note: declared here
   89 |     QT_DEPRECATED_X("Use QGuiApplication::screenAt()") const QRect availableGeometry(const QPoint &point) const
      |                                                                    ^~~~~~~~~~~~~~~~~
g++ -c -pipe -O2 -fPIC -std=gnu++1z -Wall -Wextra -D_REENTRANT -DSCINTILLA_QT_QML=1 -DMAKING_LIBRARY=1 -DSCI_LEXER=1 -D_CRT_SECURE_NO_DEPRECATE=1 -DNDEBUG=1 -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../src -I../../lexlib -I../../lexilla/src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtQuick -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtQmlModels -I/usr/include/x86_64-linux-gnu/qt5/QtQml -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ScintillaQt.o ScintillaQt.cpp
ScintillaQt.cpp: In member function ‘void Scintilla::ScintillaQt::selectCurrentWord()’:
ScintillaQt.cpp:74:26: error: ‘iswalnum’ was not declared in this scope; did you mean ‘isalnum’?
   74 |     while(startPos>=0 && iswalnum(pdoc->CharAt(startPos)))
      |                          ^~~~~~~~
      |                          isalnum
ScintillaQt.cpp:80:25: error: ‘iswalnum’ was not declared in this scope; did you mean ‘isalnum’?
   80 |     while(endPos<max && iswalnum(pdoc->CharAt(endPos)))
      |                         ^~~~~~~~
      |                         isalnum
make[1]: *** [Makefile:1220: ScintillaQt.o] Errore 1
make[1]: uscita dalla directory «/home/mte90/Desktop/kde/SciTEQt/scintilla/qt/ScintillaEditBase»
make: *** [Makefile:48: sub-scintilla-qt-ScintillaEditBase-make_first] Errore 2

Maybe Qt is not the only dependence required as now?

Sciteqt autocompletion

Hi,
I set off all autocompletion features of scite by default, but when I edit something , it writes every suggestions that appeared and is difficult to edit something. How can I do?
Thanks

How about a copr build of scte-qt

I was hoping to create for my machine, notepad uniformity in a dual boot linux/windows system, so as to have identical app-name as well as touch/feel.
I noticed that the notepad-clone alternatives are fragmented as leafpad/featherpad/notepad++/notepadqq etc
There does not seem to be a cross-platform solution.
scite-qt seems to be buildable cross-platform.

Copr is a fedora private repository system for packages not part of regular distribution. It has lesser packaging requirements than for the official regular distribution. Copr allows users to use the "dnf install" mechanism for install/uninstall. While it is possible to download/compile/make-install, it is desirable to rely on the repo installers.

There seem to have been some older attempts at making a copr build of scite-gtk
https://copr.fedorainfracloud.org/coprs/bhuztez/scite/
https://copr.fedorainfracloud.org/coprs/area7/scite/

Do make a scite-qt package on copr.
Perhaps there is something similar for other linux distributions.

Misc/References

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.