Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-02-2011, 11:47 AM   #1
webphone
Junior Member
webphone began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2011
Device: none
Question How should build in QT after changing code?

I would like to make the central widget to be larger and want to put the right hand side table of content dockwidget to left.

MainWindow.cpp
Code:
m_TableOfContents = new TableOfContents( this );
m_TableOfContents->setObjectName( TABLE_OF_CONTENTS_NAME );    //addDockWidget( Qt::RightDockWidgetArea, m_TableOfContents );
addDockWidget( Qt::LeftDockWidgetArea, m_TableOfContents );
After build it, it shows error:
:-1: error: ERROR: file copy failed from "/Developer/Applications/Qt/plugins/accessible/libqtaccessiblewidgets.dylib"
:-1: error: ERROR: file copy failed from "/Developer/Applications/Qt/plugins/bearer/libqgenericbearer.dylib"
.....30 errors.

Then, I deleted the target build and re-run cmake then build, it is ok and no build error.

However, the right hand side table of content dockwidget does not place in the left hand side under Book Browser.

The layout I want is
http://doc.trolltech.com/4.7/mainwin...ckwidgets.html
(just put the "Letter" central widget to right hand side)

My questions:
1. How should I edit the code
addDockWidget( Qt::LeftDockWidgetArea, m_TableOfContents );

2. How should I rebuild the project after changing code in QT?

For a first time build, it takes 20 mins to build all projects. I do not want to build all, just rebuild the changed project.
webphone is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing default Code on new Item andymillson Sigil 0 01-09-2011 04:13 PM
Let's create a source code repository for DR 800 related code? jraf iRex 3 03-11-2010 12:26 PM
Changing font for code view mode matthewyi Sigil 2 11-05-2009 02:20 PM
Build quaility GA Russell Which one should I buy? 13 09-15-2009 07:26 AM
iLiad Trying to build Thunderbird Adam B. iRex Developer's Corner 3 04-25-2007 04:33 AM


All times are GMT -4. The time now is 12:08 PM.


MobileRead.com is a privately owned, operated and funded community.