Comments (10)
hi, You are compiling with Qt4. I made the change to support Qt5 and only Qt5.
-I/usr/share/qt4/
You can try to call qmake-qt5 -r HotShots.pro
from hotshots.
Thanks. A little closer. I have QT5 installed now. If I run qmake-=r HotShots.pro from the build directory, it fails with
/usr/lib/qt5/bin/rcc: File does not exist 'res/hotshots.qrc'
If I run it from the top level, it returns without error but make fails like this:
brad@hairball:~/HotShots$ make
make -f Makefile.Release
make[1]: Entering directory '/home/brad/HotShots'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/3rdparty/qkeysequencewidget -Isrc/3rdparty/QSgml -Isrc/3rdparty/wwWidgets -Isrc/3rdparty/qt-json -Isrc/3rdparty/qxt -Isrc/uploaders -Isrc/editor -Isrc/editor/items -Isrc/editor/widgets -Isrc/editor/io -Isrc -isystem /usr/include/qxt/QxtGui -isystem /usr/include/qxt/QxtCore -isystem /usr/include/QxtGui -isystem /usr/include/QxtCore -I/usr/local/Qxt/include/QxtGui -I/usr/local/Qxt/include/QxtCore -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -Irelease -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/EditorWidget.o src/editor/EditorWidget.cpp
In file included from src/editor/EditorWidget.cpp:42:0:
release/ui_EditorWidget.h:13:10: fatal error: QtGui/QAction: No such file or directory
#include <QtGui/QAction>
^~~~~~~~~~~~~~~
compilation terminated.
Makefile.Release:1335: recipe for target 'release/EditorWidget.o' failed
make[1]: *** [release/EditorWidget.o] Error 1
make[1]: Leaving directory '/home/brad/HotShots'
Makefile:40: recipe for target 'release' failed
make: *** [release] Error 2
from hotshots.
This code was generated. It may result from the previous compilation with Qt4. You should clean up the directory.
I just push commit to fix compilation issue with Ubuntu 18.04 compiler and Qt5.11. It should work.
from hotshots.
Hmm. No luck. I fetched your last commit and reset --hard to origin/master so the tree is identical.
I still get the same error on make. qt version is 5.9.5 in mint 19
from hotshots.
More progress:
I did:
qmake -r HotShot.pro
make clean
make
The compile looks to have completed correctly but sudo make install does nothing
make[1]: Nothing to be done for 'install'.
All this done from the top level of the tree, not the build directory
from hotshots.
if you run uic --version
, what's the output ?
from hotshots.
5.9.5
BTW launching the binary from the release directory works! Just need the install now. Thanks.
from hotshots.
OK good news. I did not put any install rules. I will do so, this weekend as it looks important to you.
from hotshots.
I added installation rules in the qmake file. It should work now.
from hotshots.
confirmed. Thank you. One note. The INSTALL.txt file says to do the qmake/make from the build directory. This didn't work for me. I had to do it from the parent. You might want to revise the instructions.
from hotshots.
Related Issues (17)
- Provide deb package for quick download HOT 3
- Update Ubuntu PPA with Hotshots for KDE5 to fresh Ubunu releases (18.04, etc) HOT 1
- CMake project is not set up properly HOT 3
- Consider a Flatpak port to keep this software in the public domain. HOT 3
- Popularizing this app and getting Wayland Support HOT 2
- Kindly include desktop file and metainfo.xml in the sources
- HotShots Flatpak for Flathub HOT 2
- Prefix is hardcoded, please provide --prefix= option HOT 2
- save error without file extension HOT 2
- Output Path: /home causes "Error saving file"
- Saving file gives prompt "File already exists"
- Show files select image (*.png) as default while saving file
- build fails with commit: 13e583be6e5d648d1a2621f353e883abafe5fa46
- Global printscreen shortcut not working HOT 2
- How to open images with "hotshots" at Nemo, Menu and Xviewer LM 20.2
- is this project still maintained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotshots.