fairybow / fernanda Goto Github PK
View Code? Open in Web Editor NEWFernanda is a plain text editor for drafting long-form fiction. (At least, that's the plan.)
License: GNU General Public License v3.0
Fernanda is a plain text editor for drafting long-form fiction. (At least, that's the plan.)
License: GNU General Public License v3.0
Hi
Uodated to latest source i get again a error.
[100%] Linking CXX executable fernanda.exe
weakld: error: Unresolved symbol (UNDEF) '__ZN2Ud3dllB5cxx11Ev'.
weakld: info: The symbol is referenced by:
K:\temp\ldconv_archiver_cpp_o_e4763c3ff2516b6c0.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: __ZN2Ud3dllB5cxx11Ev is an undefined reference
file K:/temp\ldconv_archiver_cpp_o_e4763c3ff2516b6c0.obj(G:\fernanda\fernanda\src\archiver.cpp): undefined symbol __ZN2Ud3dllB5cxx11Ev
make[2]: *** [fernanda.exe] Error 1
make[1]: *** [CMakeFiles/fernanda.dir/all] Error 2
make: *** [all] Error 2
Hi
I use gcc 12.2.0 and QT 6
When building i get this errors...
G:/fernanda/fernanda/src/archiver.cpp: In member function 'void Archiver::create(FsPath, QVectorIo::ArcWRPaths)':
G:/fernanda/fernanda/src/archiver.cpp:19:36: error: no matching function for call to 'QFile::copy(std::filesystem::__cxx11::path&, std::filesystem::__cxx11::path&)'
19 | QFile::copy(entry.readFullPath.value(), temp_w_path);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from h:/usr/local1220/include/QtCore/qdir.h:44,
from h:/usr/local1220/include/QtCore/QDir:1,
from G:/fernanda/fernanda/src/path.h:11,
from G:/fernanda/fernanda/src/io.h:5,
from G:/fernanda/fernanda/src/archiver.h:8,
from G:/fernanda/fernanda/src/archiver.cpp:3:
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: candidate: 'template<class T, typename std::enable_if<is_same_v<std::filesystem::__cxx11::path, T>, int>::type > bool QFile::copy(const T&)'
214 | bool copy(const T &newName)
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: template argument deduction/substitution failed:
G:/fernanda/fernanda/src/archiver.cpp:19:36: note: candidate expects 1 argument, 2 provided
19 | QFile::copy(entry.readFullPath.value(), temp_w_path);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate: 'bool QFile::copy(const QString&)'
209 | bool copy(const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate expects 1 argument, 2 provided
h:\usr\local1220/include/QtCore/qfile.h:219:17: note: candidate: 'static bool QFile::copy(const QString&, const QString&)'
219 | static bool copy(const QString &fileName, const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:219:37: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const QString&'
219 | static bool copy(const QString &fileName, const QString &newName);
| ~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [CMakeFiles/fernanda.dir/fernanda/src/archiver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from G:/fernanda/fernanda/src/story.h:7,
from G:/fernanda/fernanda/src/fernanda.h:12,
from G:/fernanda/cmake-1220/fernanda_autogen/MJIP5XB4Z4/moc_fernanda.cpp:10,
from G:/fernanda/cmake-1220/fernanda_autogen/mocs_compilation.cpp:5:
G:/fernanda/fernanda/src/sample.h: In function 'void Sample::makeRc(std::filesystem::__cxx11::path)':
G:/fernanda/fernanda/src/sample.h:51:36: error: no matching function for call to 'QFile::copy(std::filesystem::__cxx11::path&, std::filesystem::__cxx11::path&)'
51 | QFile::copy(source, target);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from h:/usr/local1220/include/QtCore/qdir.h:44,
from h:/usr/local1220/include/QtCore/QDir:1,
from G:/fernanda/fernanda/src/path.h:11,
from G:/fernanda/fernanda/src/io.h:5,
from G:/fernanda/fernanda/src/colorbar.h:5,
from G:/fernanda/cmake-1220/fernanda_autogen/MJIP5XB4Z4/moc_colorbar.cpp:10,
from G:/fernanda/cmake-1220/fernanda_autogen/mocs_compilation.cpp:2:
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: candidate: 'template<class T, typename std::enable_if<is_same_v<std::filesystem::__cxx11::path, T>, int>::type > bool QFile::copy(const T&)'
214 | bool copy(const T &newName)
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: template argument deduction/substitution failed:
G:/fernanda/fernanda/src/sample.h:51:36: note: candidate expects 1 argument, 2 provided
51 | QFile::copy(source, target);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate: 'bool QFile::copy(const QString&)'
209 | bool copy(const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate expects 1 argument, 2 provided
h:\usr\local1220/include/QtCore/qfile.h:219:17: note: candidate: 'static bool QFile::copy(const QString&, const QString&)'
219 | static bool copy(const QString &fileName, const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:219:37: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const QString&'
219 | static bool copy(const QString &fileName, const QString &newName);
| ~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [CMakeFiles/fernanda.dir/fernanda_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/fernanda.dir/all] Error 2
make: *** [all] Error 2
Any idea??
KeyFilter::autoClose()
at end-of-line CTD (access violation reading location, probably nullptr
/ QChar()
)
It's an interaction between the above and QPlainTextEdit::centerCursor()
(used for typewriter positioning)
Tentatively, this has been fixed by blocking signals here:
void PlainTextEdit::keyPresses(QVector<QKeyEvent*> events)
{
blockSignals(true);
for (auto& event : events)
QPlainTextEdit::keyPressEvent(event);
blockSignals(false);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.