09-25-2014, 05:55 PM | #46 | |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
Quote:
Code:
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/home/varlog/gits/Sigil-build -DCMAKE_BUILD_TYPE=Debug /home/varlog/gits/Sigil -DCMAKE_PREFIX_PATH=/opt/Qt5.3.1/5.3/gcc_64/lib/cmake |
|
09-25-2014, 06:07 PM | #47 |
Sigil Developer
Posts: 7,651
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Hi,
The relevant CMake file shows the following for Linux: install( FILES ${PLUGIN_FILES_PYTHON} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/plugin_launchers/python/ ) So as long as Linux install defaults to create any missing directories in the path, this should work. To test, simply create the required directories manually first and then see if it is properly populated. If so, then "install" might need to have -d added to it. But then the other directories used should have the same problems so I am guessing here. KevinH |
Advert | |
|
09-25-2014, 06:18 PM | #48 | |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
Quote:
|
|
09-25-2014, 06:33 PM | #49 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
After Qt Creator builds the project, how does it get installed? Those files in the install prefix won't get created unless something actually issues the "make install" command. That folder structure doesn't get created in the normal build phase.
Just pulled a fresh copy from github, and all I can say is ... everything works as expected using the cmake, make, make install process. All files are copied to my install prefix--whether using the default /usr/local or specifying a custom one with -DCMAKE_INSTALL_PREFIX. Last edited by DiapDealer; 09-25-2014 at 06:36 PM. |
09-25-2014, 06:46 PM | #50 | |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
Quote:
Code:
if( UNIX AND NOT APPLE ) install( TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin/ ) install( FILES ${LINUX_DESKTOP_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/ ) install( FILES ${LINUX_DESKTOP_ICON_FILE} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps RENAME sigil.png ) install( FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/translations/ ) install( FILES ${DIC_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/hunspell_dictionaries/ ) install( FILES ${PLUGIN_FILES_PYTHON} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/plugin_launchers/python/ ) install( FILES ${EXAMPLE_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/sigil/examples/ ) endif() bin/ is created, lib/ is there...(?!) share/ is not. Qt Creator bug? will try it manually - but not today... Last edited by varlog; 09-25-2014 at 06:49 PM. |
|
Advert | |
|
09-25-2014, 06:50 PM | #51 | |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Quote:
QtCreator will not run that for you by default when you build. You must run "make install" for that section to apply. The lib and build directories are created by the build process for the build. Install is a different target. The bin and lib dirs in the install target are completely different. You should not install into your build dir root either. You'll run into all kinds of problems because you're going to have files in bin trying to be installed into bin. Use a dir under build like "inst" as your install target. |
|
09-25-2014, 07:00 PM | #52 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. That's the entirety of what creates the "install" make target.
Quote:
EDIT: I see user_none has already determined that Qt Creator does not issue the make install command. |
|
09-25-2014, 07:02 PM | #53 | |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
Quote:
|
|
09-25-2014, 07:12 PM | #54 |
actually it is /var/log
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
|
I can only say that without Qt Creator I won't be doing it at all. Very nice development environment for Qt.
|
09-25-2014, 09:34 PM | #55 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Smashwords: direct epub upload in alpha testing | avantman42 | Writers' Corner | 15 | 01-01-2013 05:19 PM |
Android Xobni for Android coming soon - Sign up today for Alpha testing | guyjack | enTourage Archive | 4 | 04-09-2011 02:27 PM |
Alpha 700 = 8.9" 1024x600 LCD + E-Reader = $219 | Sonist | News | 31 | 03-22-2010 12:46 PM |
Book Designer iLiad module is ready for testing | vvv | iRex | 16 | 09-21-2006 12:57 PM |
So is the Iliad really production ready and is the market ready for e-readers? | pdam | iRex | 28 | 09-14-2006 05:24 PM |