Author

Topic: QT wallet / How to create an extra tab? (Read 160 times)

legendary
Activity: 1624
Merit: 2481
August 21, 2018, 03:12:43 AM
#2
Try to compile it yourself using gcc and post the output here using code-tags (place it it between [code ] and [/code ] omitting the spaces).
You most probably broke something trying to just copy/paste the code.

We need to see the whole output being generated when you're trying to compile the code.
sr. member
Activity: 630
Merit: 256
August 21, 2018, 01:59:03 AM
#1
Hello. I'm trying to learn QT wallet editing. I am trying to build an additional tab next "Hyperinks" (tab will show links to websites) to "Overview" page.

Since I'm absolutely new with QT, all I did was that I have copied overviewpage.cpp & overviewpage.h and renamed them to hyperlinks.cpp & hyperlinks.h. After that I have searched for all of the files containing "overview" in their contents and copy -> pasted the codes of "overview" tab by replacing the word "overview" with "hyperlinks" and also created a new form called "hyperlinkspage.ui" (tried hyperlinks.ui too). As I understand this simply should add a new tab next to "Overview" tab in the QT wallet, but it gives me the following error:

Makefile:1441: recipe for target 'build/bitcoingui.o' failed
make: *** [build/bitcoingui.o] Error 1

Why this may be hapenning and how do I fix this?

PS. I'm aware that just copy pasting overviewpage.cpp & overviewpage.h is just the same code as in those files, but I'm thinking to change those things later. Now I just want to see how to create a new tab at all.

All help would be appreciated!
Jump to: