Git Product home page Git Product logo

Comments (8)

zhtengw avatar zhtengw commented on June 19, 2024

Thanks for your report. Could you please show me the output of

equery belongs lrelease

and

qtchooser -l

from deepin-overlay.

threeway avatar threeway commented on June 19, 2024
$ equery belongs lrelease
 * Searching for lrelease ...
dev-qt/linguist-tools-5.6.2 (/usr/lib64/qt5/bin/lrelease)
dev-qt/qtchooser-0_p20151008 (/usr/bin/lrelease -> qtchooser)
$ qtchooser -l
5
qt5-x86_64-pc-linux-gnu
qt5

And just a minor note: 0.2.1 builds although it throws the same release message.

from deepin-overlay.

zhtengw avatar zhtengw commented on June 19, 2024

I search in Google and found tips from this issue giucam/orbital#24.
Are there two different versions of lrelease in your PATH? What are the outputs of "whereis lrelease" and "which lrelease"?

from deepin-overlay.

threeway avatar threeway commented on June 19, 2024
# whereis lrelease
lrelease: /usr/bin/lrelease
# which lrelease
/usr/bin/lrelease

And /usr/bin/lrelease is a symlink to /usr/bin/qtchooser which belongs to dev-qt/qtchooser-0_p20151008, which seems to be the only version I have installed.

from deepin-overlay.

threeway avatar threeway commented on June 19, 2024

Do I need a newer QT than 5.6? I have 5.6.2 and when I do an ebuild deepin-toolkit-0.2.1.ebuild install I get the following:

make[1]: Leaving directory '/var/tmp/portage/dde-base/deepin-tool-kit-0.2.1/work/deepin-tool-kit-0.2.1/dutil'
cd dwidget/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dde-base/deepin-tool-kit-0.2.1/work/deepin-tool-kit-0.2.1/dwidget/dwidget.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile ) && make -f Makefile

process translations/dtkwidget.ts
lrelease: could not find a Qt installation of ''

process translations/dtkwidget_zh_CN.ts
lrelease: could not find a Qt installation of ''
Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
make[1]: Entering directory '/var/tmp/portage/dde-base/deepin-tool-kit-0.2.1/work/deepin-tool-kit-0.2.1/dwidget'
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DLIBDTK_LIBRARY -DQT_MESSAGELOGCONTEXT -DSN_API_NOT_YET_FROZEN -DLIBDTKWIDGET_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_WIDGETS_LIB -DQT_PLATFORMSUPPORT_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -Iwidgets/startupnotifications -Iplatforms/linux -Iwidgets -I../dbase -I../dutil -isystem /usr/include/startup-notification-1.0 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtMultimediaWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtPlatformSupport -isystem /usr/include/qt5/QtPlatformSupport/5.6.2 -isystem /usr/include/qt5/QtPlatformSupport/5.6.2/QtPlatformSupport -isystem /usr/include/qt5/QtGui/5.6.2 -isystem /usr/include/qt5/QtGui/5.6.2/QtGui -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore/5.6.2 -isystem /usr/include/qt5/QtCore/5.6.2/QtCore -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o dcalendardbus.o widgets/private/DCalendarWidget/dcalendardbus.cpp

So the message shows up there, but it doesn't seem to be fatal. Whereas in 0.2.5 it seems to be, unless it's another issue. I'm wondering if I should bump qt to 5.7

from deepin-overlay.

zhtengw avatar zhtengw commented on June 19, 2024

It is weird.
Since I am using Qt 5.7 now and can not reproduce your issue, I can not locate the problem.
I just add a patch to disable termination of compiling when lrelease failed, see 3178acc. Because the translation files do not affect the libraries in runtime.

You can upgrade you Qt version at your most convinience for a try.

from deepin-overlay.

threeway avatar threeway commented on June 19, 2024

-r1 works here, closing the issue as fixed.

from deepin-overlay.

steev avatar steev commented on June 19, 2024

So, I'm running into this again - across a bunch of packages, and it seems to be related to lrelease seems to be expecting a -qtX - whatever version of QT is used. I'm still updating my system here, but I'll open a bug with all the packages I've run into this on.

I think a more proper solution is to pass the correct qt version but I'm not entirely sure the best way to figure it out yet.

from deepin-overlay.

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.