It is currently Sat Jun 15, 2019 10:48 pm


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Adding a new symbol library
PostPosted: Mon Mar 31, 2014 10:30 am 
Offline

Joined: Fri Dec 02, 2011 2:12 pm
Posts: 120
Location: Paris
I've found a few Cisco icons library, but it seems that their format (vss or ppt) are incompatible with GNS3.

What format is it expecting and is there a smooth way to convert vss/ppt library formats to the compatible one?



_________________
A Collection of GNS3 Labs: https://learningnetwork.cisco.com/message/232820
i7 4700MQ quad-core 2.6 Ghz and 16 GB RAM
CCNA - CCDA
Beta Test Team
GNS3 0.8.6 on Windows 7 64 bits
GNS3 0.8.6 on Ubuntu 13.10 and Qemu 1.5.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


Top
 Profile  
 
 Post subject: Re: Adding a new symbol library
PostPosted: Thu Apr 03, 2014 9:46 am 
Offline

Joined: Fri Dec 02, 2011 2:12 pm
Posts: 120
Location: Paris
OK, I've found the answer in GNS3 documentation, but the way to import simple jpg/png/bmp files is complex!

_________________
A Collection of GNS3 Labs: https://learningnetwork.cisco.com/message/232820
i7 4700MQ quad-core 2.6 Ghz and 16 GB RAM
CCNA - CCDA
Beta Test Team
GNS3 0.8.6 on Windows 7 64 bits
GNS3 0.8.6 on Ubuntu 13.10 and Qemu 1.5.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


Top
 Profile  
 
 Post subject: Re: Adding a new symbol library
PostPosted: Thu Apr 03, 2014 1:57 pm 
Offline
Site Admin

Joined: Sat Oct 11, 2008 1:41 pm
Posts: 2668
Location: Canada
Quote:
OK, I've found the answer in GNS3 documentation, but the way to import simple jpg/png/bmp files is complex!


I agree and would like to change that in the new version.

_________________
Jeremy, GNS3 Programmer & Benevolent Dictator for Life.


Top
 Profile  
 
 Post subject: Re: Adding a new symbol library
PostPosted: Fri Apr 04, 2014 10:10 am 
Offline

Joined: Fri Dec 02, 2011 2:12 pm
Posts: 120
Location: Paris
It is even more complicated than expected:

The RCC documentation available here http://qt-project.org/doc/qt-4.8/resources.html shows that the syntax for the qrc file is a little bit different from what is explained in GNS3 documentation here http://ubuntuone.com/5h7ZU7HbTI9KYsAD9HDrNx

The slight difference lies in the " instead of ' after the <file alias= statement.

Here's my .qrc file:
    <!DOCTYPE RCC><RCC version="4.8.4">
    <qresource>
    <file alias="IOS-Firewall.svg">./IOS-Firewall.svg</file>
    <file alias="SLB-1.svg">./SLB-1.svg</file>
    <file alias="SLB-2.svg">./SLB-2.svg</file>
    <file alias="Switch-with-SLB.svg">./Switch-with-SLB.svg</file>
    </qresource>
    </RCC>

_________________
A Collection of GNS3 Labs: https://learningnetwork.cisco.com/message/232820
i7 4700MQ quad-core 2.6 Ghz and 16 GB RAM
CCNA - CCDA
Beta Test Team
GNS3 0.8.6 on Windows 7 64 bits
GNS3 0.8.6 on Ubuntu 13.10 and Qemu 1.5.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


Top
 Profile  
 
 Post subject: Re: Adding a new symbol library
PostPosted: Fri Apr 04, 2014 10:37 am 
Offline

Joined: Fri Dec 02, 2011 2:12 pm
Posts: 120
Location: Paris
After compiling the .qrc file with the following command:

rcc -binary -compress 9 Cisco-Icons.qrc -o Cisco-Icons.rcc

and inserting the .rcc in the symbol manager library, the symbols are available here:
Attachment:
Symbol Manager.jpg
Symbol Manager.jpg [ 111.66 KiB | Viewed 5214 times ]


Unfortunately, there are 2 issues:
- we cannot use more than 1 decorative node (or am I missing something?)
- 70x70 px is much too big as compared to other symbols. What is the correct size? I have to start the whole process from scratch....

_________________
A Collection of GNS3 Labs: https://learningnetwork.cisco.com/message/232820
i7 4700MQ quad-core 2.6 Ghz and 16 GB RAM
CCNA - CCDA
Beta Test Team
GNS3 0.8.6 on Windows 7 64 bits
GNS3 0.8.6 on Ubuntu 13.10 and Qemu 1.5.2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


Top
 Profile  
 
 Post subject: Re: Adding a new symbol library
PostPosted: Sat Apr 05, 2014 11:20 am 
Offline

Joined: Sun Sep 16, 2012 9:55 pm
Posts: 541
Location: England
I'm afraid I don't know the exact details regarding the size of the symbols... but you may find your answer here: http://code.gns3.net/gns3-artwork/



_________________
Daniel
Forum Moderator & Debian Package Maintainer for GNS3, Dynamips & VPCS.
Standalone DEB Packages are available from http://gns3.serverb.co.uk - To be updated!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO