Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
dev:eclipse [2018/07/18 13:07] tedfelix [Include Files and Symbols] |
dev:eclipse [2019/09/21 19:36] tedfelix [Auto-Save Before Build] |
| |
===== Set Up Rosegarden Source Under Eclipse ===== | ===== Set Up Rosegarden Source Under Eclipse ===== |
//Note: These instructions were developed using Eclipse 4.8 (Photon).// | //Note: These instructions were developed using Eclipse 2018-09 (4.9.0).// |
| |
Since we set up the directory structure in a way that Eclipse likes, getting Eclipse to find the source and work with it is easy. Launch Eclipse. It will first ask for the location of your workspace. Give it the rosegarden-workspace directory that we created earlier. Since this is a new workspace, you'll get the Eclipse welcome screen. In the upper right is a button for the "Workbench". Click it. | Since we set up the directory structure in a way that Eclipse likes, getting Eclipse to find the source and work with it is easy. Launch Eclipse. It will first ask for the location of your workspace. Give it the rosegarden-workspace directory that we created earlier. Since this is a new workspace, you'll get the Eclipse welcome screen. In the upper right is a button for the "Workbench". Click it. |
/usr/include/x86_64-linux-gnu/qt5/QtCore | /usr/include/x86_64-linux-gnu/qt5/QtCore |
/usr/include/x86_64-linux-gnu/qt5/QtGui | /usr/include/x86_64-linux-gnu/qt5/QtGui |
| /usr/include/x86_64-linux-gnu/qt5/QtNetwork |
| /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport |
| /usr/include/x86_64-linux-gnu/qt5/QtTest |
/usr/include/x86_64-linux-gnu/qt5/QtXml | /usr/include/x86_64-linux-gnu/qt5/QtXml |
| /usr/include/x86_64-linux-gnu/qt5/QtWidgets |
| |
Next, click on the # Symbols tab. Verify that "GNU C++" is still selected. In the Symbol box, add the following symbols and values: | Next, click on the # Symbols tab. Verify that "GNU C++" is still selected. In the Symbol box, add the following symbols and values: |
| |
===== Auto-Save Before Build ===== | ===== Auto-Save Before Build ===== |
By default, Eclipse doesn't automatically save your files when you build. If you would prefer that behavior, go to Window > Preferences > General > Workspace > Build. Set the "Save automatically before build" checkbox. This avoids build errors if you forget to save a file that you've changed. | By default, Eclipse doesn't automatically save your files when you build. If you would prefer that behavior, go to Window > Preferences > General > Workspace > Build. Set the "Save automatically before manual build" checkbox. This avoids build errors if you forget to save a file that you've changed. |
| |
===== Unlimited Console Buffer ===== | ===== Unlimited Console Buffer ===== |
| |
===== Upgrade Notes ===== | ===== Upgrade Notes ===== |
When upgrading to a new version of eclipse, it's a good idea to delete all the Eclipse config files in your workspace and project so the new version can start fresh. You'll have to go through all the configuration again, but things should be a bit more stable. Key things to delete for the Indigo to Juno upgrade: | When upgrading to a new version of eclipse, it's a good idea to delete all the Eclipse config files in your workspace and project so the new version can start fresh. You'll have to go through all the configuration again, but things should be a bit more stable. Here's a list of key things to delete. |
| Some of these might not exist depending on which version of Eclipse you are using. |
| |
rosegarden-workspace/.metadata | rosegarden-workspace/.metadata |
rosegarden-workspace/rosegarden-svn/.cproject | rosegarden-workspace/rosegarden-svn/.cproject |
rosegarden-workspace/rosegarden-svn/.project | rosegarden-workspace/rosegarden-svn/.project |
| |
Juno to Kepler had the same files and directories to delete along with a new one: | |
| |
rosegarden-workspace/rosegarden-svn/.settings | rosegarden-workspace/rosegarden-svn/.settings |
| |