•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 402,525 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,476 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 2007 | Replies: 1
![]() |
Hello all,
I know this is borderline off-topic, but then again QT4 is a C++ based
program...
I compiled QT4.1.1 on a fedora 4 OS.
I finally got all the registration issues worked so that it works in it's native X11 form as an executable.
However codeblocks is having trouble with it. I edited the the paths in the *wizard.script file to reflect the installed base, lib, and include directories, but it still is looking for QtCore4, which does not exist.
I edited the script to look for QtCore (without the 4) which does exist, but it still say it can't find it.
I suppose I would be bettter off if I KNEW what it expected from this directory, so I could find where THAT requirement lives, but I just don't know whrer to go from here...
I know you guys use this IDE, so I'm sure SOMEONE has the answer!
Thanks.
I know this is borderline off-topic, but then again QT4 is a C++ based
program...
I compiled QT4.1.1 on a fedora 4 OS.
I finally got all the registration issues worked so that it works in it's native X11 form as an executable.
However codeblocks is having trouble with it. I edited the the paths in the *wizard.script file to reflect the installed base, lib, and include directories, but it still is looking for QtCore4, which does not exist.
I edited the script to look for QtCore (without the 4) which does exist, but it still say it can't find it.
I suppose I would be bettter off if I KNEW what it expected from this directory, so I could find where THAT requirement lives, but I just don't know whrer to go from here...
////////////////////////////////////////////////////////////////////////////////
//
// Qt4 project wizard
//
////////////////////////////////////////////////////////////////////////////////
// globals
QtPathDefault <- _T("/usr/local/Trolltech/Qt-4.1.1");
QtPathDefaultInc <- _T("/usr/local/Trolltech/Qt-4.1.1/include");
QtPathDefaultLib <- _T("/usr/local/Trolltech/Qt-4.1.1/lib");
QtPath <- _T("/usr/local/Trolltech/Qt-4.1.1");
function BeginWizard()
{
local intro_msg = _T("Welcome to the new Trolltech Qt4 project wizard!\n" +
"This wizard will guide you to create a new Qt4 project\n" +
"using the Trolltech Qt4 cross-platform GUI toolkit\n\n" +
"When you're ready to proceed, please click \"Next\"...");
local qtpath_msg = _T("Please select the location of Trolltech Qt4 on your computer.\n" +
"This is the top-level folder where Qt4 was installed.\n" +
"To help you, this folder must contain the subfolders\n" +
"\"include\" and \"lib\".");
Wizard.AddInfoPage(_T("QtIntro"), intro_msg);
Wizard.AddProjectPathPage();
Wizard.AddGenericSelectPathPage(_T("QtPath"), qtpath_msg, _T("Qt's location:"), QtPathDefault);
Wizard.AddCompilerPage(_T(""), _T("gcc*"), true, true);
}
////////////////////////////////////////////////////////////////////////////////
// Qt's path page
////////////////////////////////////////////////////////////////////////////////
function OnLeave_QtPath(fwd)
{
if (fwd)
{
local dir = Wizard.GetTextControlValue(_T("txtFolder")); // txtFolder is the text control in GenericSelectPathPage
local dir_nomacro = VerifyDirectory(dir);
if (dir_nomacro.IsEmpty())
return false;
// verify include dependencies
local dir_nomacro_inc = GetCompilerIncludeDir(dir, QtPathDefault, QtPathDefaultInc);
if (dir_nomacro_inc.IsEmpty())
return false;
if (!VerifyFile(dir_nomacro_inc + wxFILE_SEP_PATH + _T("QtGui"), _T("QApplication"), _T("Qt's include"))) return false;
// verify library dependencies
local dir_nomacro_lib = GetCompilerLibDir(dir, QtPathDefault, QtPathDefaultLib);
if (dir_nomacro_lib.IsEmpty())
1,64 Top
I know you guys use this IDE, so I'm sure SOMEONE has the answer!
Thanks.
•
•
Join Date: Nov 2006
Location: Athens, Greece
Posts: 198
Reputation:
Rep Power: 2
Solved Threads: 9
Hi,
i am just starting to learn Qt4, so i can really answer your question.But check out http://www.qtcentre.org/forum/... most propable you will have your question answered!
i am just starting to learn Qt4, so i can really answer your question.But check out http://www.qtcentre.org/forum/... most propable you will have your question answered!
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- How to make these three files pass compiled? (C++)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP / 2003)
- Redhat Linux 6.2 - ipop3d problem? (*nix Software)
- Problem with T720 (Gadgets and Gizmos)
- Connection Problems (Networking Hardware Configuration)
- Problem with Windows Update and WinXP (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: C++ const help
- Next Thread: Please help on this


Linear Mode