Commit a6e062a6 authored by Floreal C's avatar Floreal C

update icons & application files and add previous code not commited for windows

parent d5e1d3c8
[Desktop Entry]
Version=1.0
Version=3.1
Type=Application
Name=Nouvelle recette
GenericName[fr]=QCeCWriter
Name=QRecipeWriter
GenericName[fr]=QRecipeWriter
Comment=Ecrire une recette pour son site Wordpress
Exec=QCeCWriter
Icon=QCeCWriter
Exec=QRecipeWriter
Icon=QRecipeWriter
Terminal=false
Categories=Network
StartupNotify=true
......@@ -152,12 +152,21 @@ int main(int argc, char *argv[])
corrOrtho = "/usr/share/myspell/dicts/fr_FR";
}
#else
QFile fileDictTest1 ("C:/hunspell/dicts/fr.dic");
QFile fileDictTest2 ("C:/hunspell/dicts/fr.aff");
if (fileDictTest1.exists() && fileDictTest2.exists())
{
corrOrtho = "C:/hunspell/dicts/fr";
}
#if _WIN64
QFile fileDictTest1 ("C:/hunspellX64/dicts/fr.dic");
QFile fileDictTest2 ("C:/hunspellX64/dicts/fr.aff");
if (fileDictTest1.exists() && fileDictTest2.exists())
{
corrOrtho = "C:/hunspellX64/dicts/fr";
}
#else
QFile fileDictTest1 ("C:/hunspellI686/dicts/fr.dic");
QFile fileDictTest2 ("C:/hunspellI686/dicts/fr.aff");
if (fileDictTest1.exists() && fileDictTest2.exists())
{
corrOrtho = "C:/hunspellI686/dicts/fr";
}
#endif
#endif
QRecipeWriter w;
......
......@@ -172,14 +172,15 @@ unix {
}
win32 {
INCLUDEPATH += C:/hunspell/include
contains(QMAKE_HOST.arch, x86_64) {
INCLUDEPATH += C:/hunspellX64/include
!exists("C:/hunspellX64/lib/libhunspell-1.3.a") {
message("Error: hunspell lib not found: C:/hunspellX64/lib/libhunspell-1.3.a");
}
LIBS += C:/hunspellX64/lib/libhunspell-1.3.a
}
else {
INCLUDEPATH += C:/hunspellI686/include
!exists("C:/hunspellI686/lib/libhunspell-1.3.a") {
message("Error: hunspell lib not found: C:/hunspellI686/lib/libhunspell-1.3.a");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment