GithubHelp home page GithubHelp logo

Comments (22)

alphaonex86 avatar alphaonex86 commented on September 1, 2024

You need specify the .pro file like this:
qmake ultracopier-core.pro
And after:
make

from ultracopier.

rpayanm avatar rpayanm commented on September 1, 2024

@alphaonex86 Thank you for your answer, but now I have this error:

$ qmake ultracopier-core.pro
RCC: Error in 'resources/ultracopier-resources.qrc': Cannot find file 'Languages/en/translation.qm'

Greetings.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

You should generate the .qm, take look to this:
https://github.com/alphaonex86/Ultracopier/tree/master/tools/to-pack
My compilation chain

from ultracopier.

Neutrynos avatar Neutrynos commented on September 1, 2024

Hi,
I've got the same issue as rpayanm :

$ qmake ultracopier-core.pro
RCC: Error in 'resources/ultracopier-resources.qrc': Cannot find file 'Languages/en/translation.qm'

I looked at tools/to-pack/ directory but did'nt found anything to generate the .qm, how should I do ?

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

https://github.com/alphaonex86/Ultracopier/blob/master/tools/to-pack/sub-script/translation.sh#L16

It do: lrelease -nounfinished -compress -removeidentical XXXXX.pro dans generate the .qm file

from ultracopier.

Neutrynos avatar Neutrynos commented on September 1, 2024

Thanks it works. It was on the wiki but I thought it was to do after qmake.
But now I've got a new issue when doing "make" command.

DebugEngine.h:19:30: fatal error: QRegularExpression: No such file or directory

I tried to google it but i did'nt found anything yet.

from ultracopier.

rpayanm avatar rpayanm commented on September 1, 2024

@alphaonex86 Why do not compile the project (.deb, .rpm, etc.) for new users as we do not spend so much work.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

@Neutrynos : QRegularExpression: No such file or directory -> Are you well using Qt5?

@rpayanm : Because it's lot of work to do for all distro, and have some compatibility problem. And I failed to use: http://openbuildservice.org/about/ then I prefer help the distro with this.

from ultracopier.

Neutrynos avatar Neutrynos commented on September 1, 2024

I understand it's a lot of work. To help a little I can make a tutorial for my version of Debian when all my problems will be gone.

@alphaonex86 : I made some changes and now I'm running with qt5 (I replace qt4-default by qt5-default in synaptic)
Ultracopier-master# qmake --version
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/x86_64-linux-gnu

But still have issues : ui_HelpDialog.h:13:25: fatal error: QtGui/QAction: No such file or directory

from ultracopier.

Neutrynos avatar Neutrynos commented on September 1, 2024

I post too quickly, after doing make clean and then make it works, but it seems I compiled the non-free version =/

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

@Neutrynos: yes please, a tutorial can be useful, I will post on the wiki.

Keep sure the build is clear: seam the ui_HelpDialog.h is generated with Qt4, but try compil with Qt5: make clear

... your next comment confirm it ;)

from ultracopier.

vishalpb avatar vishalpb commented on September 1, 2024

@alphaonex86 : I am stuck at compilation. I am using kubuntu 16.04, with qt4-dev-tools installed and system is updated till date, downloaded the latest download (ver 1.2.3.5) at http://ultracopier.first-world.info/. Have tried to compile for "ultracopier-core.pro" as well as "ultracopier-all-in-one-direct.pro" (followed the instructions given at http://ultracopier-wiki.first-world.info/wiki/Compilation_of_Ultracopier )

Error Log:

vpb@VPB-Kubuntu:~/Downloads/ultracopier-src$ qmake ultracopier-core.pro;make
g++ -c -pipe -std=c++0x -Wall -Wextra -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Ilib/qt-tar-xz -I. -I. -o ThemesManager.o ThemesManager.cpp
In file included from ThemesManager.h:18:0,
from ThemesManager.cpp:12:
ResourcesManager.h:12:30: fatal error: QRegularExpression: No such file or directory
compilation terminated.
Makefile:796: recipe for target 'ThemesManager.o' failed
make: *** [ThemesManager.o] Error 1

Please provide a way out.

Thanks

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Hello,

Ultracopier is Qt5, not Qt4.

I have fix some topic, where do you have see this?

Cheers,

On 10/08/16 23:08, vishalpb wrote:

@alphaonex86 : I am stuck at compilation. I am using kubuntu 16.04, with qt4-dev-tools installed and system is updated till date, downloaded the latest download (ver 1.2.3.5) at http://ultracopier.first-world.info/. Have tried to compile for "ultracopier-core.pro" as well as "ultracopier-all-in-one-direct.pro"

vpb@VPB-Kubuntu:~/Downloads/ultracopier-src$ qmake ultracopier-core.pro;make
g++ -c -pipe -std=c++0x -Wall -Wextra -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Ilib/qt-tar-xz -I. -I. -o ThemesManager.o ThemesManager.cpp
In file included from DebugEngineMacro.h:15:0,
from Environment.h:11,
from ThemesManager.h:17,
from ThemesManager.cpp:12:
DebugEngine.h:19:30: fatal error: QRegularExpression: No such file or directory
compilation terminated.
Makefile:796: recipe for target 'ThemesManager.o' failed
make: *** [ThemesManager.o] Error 1

Please provide a way out.

Thanks

alpha_one_x86/BRULE Herman [email protected]
Main developer of Supercopier/Ultracopier/CatchChallenger, Esourcing and server management
IT, OS, technologies, research & development, security and business department

from ultracopier.

vishalpb avatar vishalpb commented on September 1, 2024

I followed the instruction on the wiki page : http://ultracopier-wiki.first-world.info/wiki/Compilation_of_Ultracopier . It is mentioned here as:
"Install the tool to compil if needed
ubuntu
sudo apt-get install qt4-dev-tools build-essential dev-tools qt4-dev qt4-qmake "

Also while compiling earlier I had come across an error where both 'resources/ultracopier-resources.qrc' and 'plugins/static-plugins.qrc' gave an error for fetching the translation.qm file from their respective language folders respectively looking for 'translation.qm' in /resources/languages/en/ and /plugins/languages/fr/. Had to modify the ultracopier-resources.qrc and static-plugins.qrc to fetch the 'translation.ts' instead of 'translation.qm'

Now stuck at [ThemesManager.o] error. Will install Qt5 and try.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Ok, I have fixed this page with:
sudo apt-get install build-essential gcc automake qt5-qmake liblzma-dev qttools5-dev qt5-default

Don't change .qm to .ts, it's not the same format.
find ./ -name '*.ts' -exec lrelease {} ; should generated the .qm missing

from ultracopier.

vishalpb avatar vishalpb commented on September 1, 2024

Thanks @alphaonex86 for the qt5 apt-get command and clarification on .qm
Sorry I missed the .qm compilation command though it was there on instructions page.

Installed Qt5, created .qm. Further as suggested by Neutrynos I did the make clean and compile the all-in-one-direct binary.

On the instructions wiki page (http://ultracopier-wiki.first-world.info/wiki/Compilation_of_Ultracopier), after the compilation of binary you have mentioned about plugin and using the same compilation commands for plugin. Can you please provide example or actual commands for the same.

Also, can you shed more light on how to execute the 'assemble this structure into search path': Do we just need to edit some file or execute a command???

Apologies for such trivial questions but as am a beginner in linux and sometimes can find the required solution after googling, thus such questions. Please bear with me.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Hello, do a:

make distclean

To clean old Qt4 file and try form qmake command again, be sure it's
qmake of qt5 by: qmake -v

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Forget ths plugin for ultracopier-all-in-one-direct.pro

from ultracopier.

vishalpb avatar vishalpb commented on September 1, 2024

As suggested in assemble section, edited (replaced the architecture to linux-x86_32-pc) the informations.xml in the following:
CopyEngine/Ultracopier/informations.xml
Themes/Oxygen/informations.xml
Listener/catchcopy-v0002/informations.xml
SessionLoader/KDE4/informations.xml

Did not understand "Assemble this structure into search path (~/.config/Ultracopier/, near the binary, /usr/share/ultracopier/, /usr/lib/ultracopier/), given for linux (remplace .so by .dll or .dylib if needed)"

Uninstalled qt4, installed qt5 (qmake -v gives: QMake version 3.0; Using Qt version 5.5.1 in /usr/lib/i386-linux-gnu)
Did the make distclean, then did 'qmake ultracopier-all-in-one-direct.pro;make'
Am I missing anything now?

Tried 'make install' after 'qmake ultracopier-all-in-one-direct.pro;make' , but make install doesn't work.

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

No, just that's work. "Assemble this structure into search path" is for plugins. Not needed in your case.

make install not work, just start the binary.

from ultracopier.

vishalpb avatar vishalpb commented on September 1, 2024

Thanks. Started the binary.
I am being asked for a key (I thought ultracopier is free as the same is mentioned on the website) .
Further another error "The replacement of default copy/move is not supported by the File Manager (Dolphin, Nautilus, ...)

screenshot_20161013_200212

from ultracopier.

alphaonex86 avatar alphaonex86 commented on September 1, 2024

Into Variable.h, comment the line #define ULTRACOPIER_VERSION_ULTIMATE
And recompil it, make clean, ...

Yes, you need ask more intergration on KDE about this part.

from ultracopier.

Related Issues (20)

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.